We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c7669e + 5ac2d62 commit 802e07fCopy full SHA for 802e07f
Sources/_StringProcessing/Compiler.swift
@@ -44,11 +44,11 @@ func _compileRegex(
44
}
45
46
// An error produced when compiling a regular expression.
47
-public enum RegexCompilationError: Error, CustomStringConvertible {
+enum RegexCompilationError: Error, CustomStringConvertible {
48
// TODO: Source location?
49
case uncapturedReference
50
51
- public var description: String {
+ var description: String {
52
switch self {
53
case .uncapturedReference:
54
return "Found a reference used before it captured any match."
0 commit comments