[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser - queryparser.py:1.1.2.6
Andreas Jung
andreas@digicool.com
Wed, 16 Jan 2002 10:24:02 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser
In directory cvs.zope.org:/tmp/cvs-serv29337
Modified Files:
Tag: ajung-textindexng-branch
queryparser.py
Log Message:
splitted handling of parens
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/queryparser/queryparser.py 1.1.2.5 => 1.1.2.6 ===
def DeclareTerminals(self):
- self.TextIndexG.Addterm("openp", self.OPENPREGEX, self.addParens)
- self.TextIndexG.Addterm("closep", self.CLOSEPREGEX, self.addParens)
+ self.TextIndexG.Addterm("openp", self.OPENPREGEX, self.addOpenParens)
+ self.TextIndexG.Addterm("closep", self.CLOSEPREGEX, self.addCloseParens)
self.TextIndexG.Addterm("and", self.ANDREGEX, self.addOp)
self.TextIndexG.Addterm("or", self.ORREGEX, self.addOp)
self.TextIndexG.Addterm("str", self.STRREGEX, self.addWord)