At what cost tho? Maintaining that array and rolling it back during backtracking must impose a runtime cost for what IMO is not all that common a use case.
In reply to Re^2: Arbitrary number of captures in a regular expression
by demerphq
in thread Arbitrary number of captures in a regular expression
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |