25 Jul
2005
25 Jul
'05
11:20 a.m.
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