- Compatible with Swift 5.0
- Compatible with Swift 4.0
CaptureGroup
conforms toMatchProtocol
matched
onCaptureGroup
became Non-optional. Empty string is returned if conversion is failed.range
onMatch
became Optional.nil
is returned if conversion from NSRange is failed.String.split
returns[Substring]
instead of[String]
- Performance improved
- Compatible with Swift 3.2
- Named capture group
Regex.Options
is not type alias ofNSRegularExpession.Options
any longer.- Add
Regex.Options.namedCaputreGroups
Match.Options
is not type alias ofNSRegularExpession.MatchingOptions
any longer.- Add
Match.Options.reportProgress
&Match.Options.reportCompletion
- Compatible with Swift 3.2
- Swift Package Manager supported
- `Regex.init`` changed - one accepts string literal, the other one accepts string may throwing error.
- macOS, tvOS, watchOS supported.
- LLRegex initial version