> PS: I read the pegs documentation, I saw the example, my question was about 
> using captured substrings (those enclosed in {}) in the enter/leave procs. 
> Not the whole s string with start and length -- that matches the entire rule, 
> not the {} portions.

Ah, ok. Captures are not available in `eventParser`, a parser grammar is 
generally defined down to the elements of interest. Maybe @mashingan is right 
and what you are looking for is more of a matcher than a parser.

Reply via email to