in reply to Re^5: Explain a regexp matched group result
in thread Explain a regexp matched group result
Formidable!
How to say
- yes: I want to handle arbitraries REs
- but only REs that passed my grammar, so I know in advance the overall structure.
The origin of my question is the comparison of perl's regexp with ECMAScript regexp, namely Note 3 of chapter 15.10.2.5 of ECMA-262 grammar spec (a perfectlty sensible question since ECMA regexp are are copy of perl5's).
I have done the AST of any ECMAScript source (c.f. MarpaX::Languages::ECMA::AST) so now I was wondering about the actions associated to the grammar.
In Section
Seekers of Perl Wisdom