> > 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 know is _how_ to
escape the words.
If it was putting it in square brackets i _would_ do:

  q = q.replace('not','[not]')

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.

Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to