in reply to Re^6: Problem with capturing all matches with regex
in thread Problem with capturing all matches with regex

Grammars are for parsing data, not just code (which is a subset of data). For example, see demo_PerlCSV.pl from the Parse::RecDescent demo directory.

  • Comment on Re^7: Problem with capturing all matches with regex

Replies are listed 'Best First'.
Re^8: Problem with capturing all matches with regex
by igoryonya (Pilgrim) on Oct 15, 2016 at 14:39 UTC
    I looked at demos and documentation of that lib. It was over my head. I didn't understand anything.
    Tried to do some more searches about grammar engine on various search engines and tech portals, but didn't find any sane explanation of what it is, how it works and what it's used for. I just can't figure out, how it works and how I can utilize it.