nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
227 stars 21 forks source link

Capturing groups improvements #45

Closed xmonader closed 4 years ago

xmonader commented 4 years ago

this PR improves capturing groups usage by

not sure if i should return the iterator and leave toSeq call to the user or not.

nitely commented 4 years ago

not sure if i should return the iterator and leave toSeq call to the user or not.

Yeah, we could have both (same as group does it now), or just the iterator with an example using toSeq.

nitely commented 4 years ago

Thank you!. I'll release a new version on the weekend.