Haven't tried the event parser, but if only capturing the needed text I usually use `find` proc var buffer = newseq[string](10) # crash if the seq not enough if example =~ grammar: discard example.find(grammar, buffer) echo buffer # will print # ["1", "2", "3", "", "", "", "", "", "", ""] Run
- pegs module: how to use captures in enter/leave procs? Amenhotep
- Re: pegs module: how to use captures in enter/leave procs? Araq
- Re: pegs module: how to use captures in enter/leave pro... gemath
- Re: pegs module: how to use captures in enter/leave... Amenhotep
- Re: pegs module: how to use captures in enter/l... mashingan