I’m interested in manipulating & munging regular expressions, not the
matches, but the regexes themselves.
Specifically, I want to parse out the groups/captures in a regex much
like .named_captures and .names, but for ALL captures, not just the
My end goal is to take a regex like /(one)(two)(three)four/ and split it
up into three separate regexs
Any pointers would be appreciated.