Version 6.0 diverges substantially from Version 5.0 in terms of API.
NOTE: IF YOU NEED A PURE RegexKitLite 4.0 REPLACEMENT, USE VERSION 5.0.
Objective-C Changes include:
- Added ability to match named capture groups (macOS 10.13 or later)
- Added capacity to make template substitutions based on named capture groups (macOS 10.13 or later)
- Renamed multiple API clusters to be semantically more regex context-correct
- Modernized the block syntax
- Deprecated the "captureCount" argument in all block-based methods
- Replaced all C arrays with NSArrays in all block-based methods
- Added generics to all collection references inside the APIs
- If using RKXReportProgress as a match option, a timeout error will now be returned if a regex fails to match within 1.0 seconds
- Tons of new examples in the test cases
A number of APIs were using an NSArray-inspired convention for naming semantics. While it was a familiar convention, I felt like the convention failed to convey a regex-sensitive context in the RKL4 APIs, hence the need for a large-scale API renaming effort.