in reply to Nesting regexen

Strongly agree with nothingmuch. This is tilting at windmills, and nothing real useful is likely to come of it, probably not even with Parse::Recdescent.

As merlyn explained, even perl6's "regexes-on-steroids" rules (based largely on P::RD) won't be able to parse perl: Re: Perl not BNF-able??.