Re: [Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Chris Withers
Peter Bengtsson wrote: Don't get hung up on that. What I'm after is the technique I can use upon the QueryParser for "ignoring" these operator words. RTSL ;-) QueryParser.py has a massive doc string at the top of it ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting

[Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Peter Bengtsson
> > > Ok. Sounds like a plan. > > What I need to do if it happens is to escape all the operator words > > like "and" "or" "not". > > Any idea how I can do that? > > Not a zope solution (or issue), but how about using regex in python code? > Finding the words I'm not worried about. What I don't

Re: [Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Jonathan
- Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Chris Withers" <[EMAIL PROTECTED]> Cc: Sent: Monday, July 25, 2005 7:06 AM Subject: [Zope] Re: Token 'ATOM' required, 'and' found Ok. Sounds like a plan.

[Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Peter Bengtsson
Ok. Sounds like a plan. What I need to do if it happens is to escape all the operator words like "and" "or" "not". Any idea how I can do that? On 7/25/05, Chris Withers <[EMAIL PROTECTED]> wrote: > Peter Bengtsson wrote: > > But, is there a more robust solution to this? > > The "correct" thing