m-ender / retina

A regex-based programming language.
MIT License
231 stars 10 forks source link

[Feature request] all of the captured group #53

Open kckennylau opened 8 years ago

kckennylau commented 8 years ago

For example, the regex (.)+, when applied to abcd, would have the first capture group containing for elements, {a,b,c,d}.

The feature request is to create a substitution pattern, for example $a, to substitute all of the capture groups.


Demonstration: