From: "Jasen J." Date: 2010-10-16T00:07:09+09:00 Subject: Processing regular expressions? 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 named ones. My end goal is to take a regex like /(one)(two)(three)four/ and split it up into three separate regexs /(one)twothreefour/ /one(two)threefour/ /onetwo(three)four/ Any pointers would be appreciated. - Jasen. -- Posted via http://www.ruby-forum.com/.