Well, perhaps you could use something like:
SkipTo( "?" | stringEnd )
This will read everything up to the first '?', or to the end of the string
(assuming that you are parsing just the request url.
-- Paul
-----Original Message-----
From: pyp...@li...
[mailto:pyp...@li...] On Behalf Of Tom Wiebe
Sent: Monday, March 06, 2006 7:07 PM
To: pyp...@li...
Subject: Re: [Pyparsing] splitting the query from a url?
Cool,
I was afraid that I was missing something simple, some sort of
'splitOn('?')' function.
<snip>
|