m-ender / retina

A regex-based programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split mode option: exclude captures

m-ender opened this issue · comments

Non-trivial matches may inadvertently capture strings for the purpose of backreferences, although one does not always actually want to include those in the split list. A simple solution would be an option which just excludes them from the list anyway. More sophisticated configuration might allow excluding only specific groups.

Implemented in df97434.