Error
public enum Error: ParseError
Possible errors while using RegexParser
-
Pattern does not match the input (at the beginning)
- pattern: the pattern that was used
- input: the input that failed on the pattern
Declaration
Swift
case doesNotMatch(pattern: String, input: String)
-
Regular expression is invalid (could not be evaluated by NSRegularExpression)
Declaration
Swift
case invalidRegex(String)