[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LPEG filtering
- From: Mark Hamburg <mark_hamburg@...>
- Date: Tue, 3 Jun 2008 07:41:19 -0700
Is it possible as part of the semantic action/capture logic in LPEG to
attach filter functions? For example, could I match a number using the
LPEG patterns and then range check it with a Lua function? Or would I
need to do that work after the pattern match finishes?
I just read the LPEG paper and I don't recall seeing anything about
this sort of functionality.
Mark