An Objective-C wrapper around Onigmo.
Carthage is currently the only supported installation method:
github "nerdishbynature/Onigmo"
We tried to mimic NSRegularExpression as close as possible, currently this library has only a initialiser and matchesInString:error: method implemented.
let onigmoRegex = try OnigmoRegularExpression(pattern: "a(.*)b|[e-f]+", options: .Default)
let matches = try onigmoRegex.matchesInString("zzzzaffffffffb")
let firstRange = matches["0"].rangeValue // a NSRange for the first matchSee LICENSE file for more details