I am writing a filtering HTTP proxy (the site is
http://xuproxy.sourceforge.net/). I want it to be compatible with
Proxomitron (http://proxomitron.info/) filters. I need a regular
expression parser that allows patterns to call functions (or more
likely, class methods), to implement matching
On Mar 2, 8:41 am, Andrew Warkentin [EMAIL PROTECTED] wrote:
I am writing a filtering HTTP proxy (the site
ishttp://xuproxy.sourceforge.net/). I want it to be compatible with
Proxomitron (http://proxomitron.info/) filters. I need a regular
expression parser that allows patterns to call
On Mar 2, 8:41 am, Andrew Warkentin [EMAIL PROTECTED] wrote:
I am writing a filtering HTTP proxy (the site
ishttp://xuproxy.sourceforge.net/). I want it to be compatible with
Proxomitron (http://proxomitron.info/) filters. I need a regular
expression parser that allows patterns to call
pyparsing also includes a decorator function, traceParseAction, which
will list out calls to parse actions, the tokens passed in, and the
value returned or exception raised. If you add @traceParseAction
before each of the parse actions in my example, you can see the token
processing being done in