lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I would be interested to know how others use lpeg.
One strategy is to try and get the bare pattern right
first, without using captures (if none are needed later
in the matching process), and then to retro-fit the captures
later. This I find quite tricky to get right, because one has
to have a mental picture of the capture stack and how it gets
Does anyone have any informal advice or useful tips?

Gavin Wraith (
Home page: