crossroadlabs / Regex

Regular expressions for swift
Apache License 2.0
332 stars 33 forks source link

Subscript access for matched groups #35

Closed iby closed 7 years ago

iby commented 7 years ago

Would be awesome to access groups via groups[1] and groups["foo"].

ypopovych commented 7 years ago

Implemented this in the latest version.