Regexp::Grammars is module to add grammatical parsing features to Perl regexes.
Regexp::Grammars is module to add grammatical parsing features to Perl regexes.
It adds a small number of new regex constructs that can be used within Perl patterns to implement complete recursive-descent parsing.