Re: pyparsing listAllMatches problem

2006-09-09 Thread don pasquale
On Sat, 09 Sep 2006 20:46:29 +0300, Paul McGuire <[EMAIL PROTECTED]> wrote: > Thanks for posting this test case. This is a bug in pyparsing. I'll > have a > fix ready shortly. > > -- Paul Ur welcome, I hope you find the bug and squash it :). I temporalily solved my problem (in case anyone

Re: pyparsing listAllMatches problem

2006-09-09 Thread Paul McGuire
"don pasquale" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hello, > I'm using pyparsing and trying to parse something like: > test="""Q(x,y,z):-Bloo(x,"Mitsis",y),Foo(y,z,1243),y>28,x<12,x>3""" > > and also have all comparison predicates in a separate list apart from the > parse

pyparsing listAllMatches problem

2006-09-09 Thread don pasquale
hello, I'm using pyparsing and trying to parse something like: test="""Q(x,y,z):-Bloo(x,"Mitsis",y),Foo(y,z,1243),y>28,x<12,x>3""" and also have all comparison predicates in a separate list apart from the parse tree. So my grammar has this line in it: Comparison_Predicate = Group(variable + one