[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex - GlobbingLexicon.py:1.9.2.1

Andreas Jung andreas@zope.com
Wed, 2 Jan 2002 11:22:38 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex
In directory cvs.zope.org:/tmp/cvs-serv29857

Modified Files:
      Tag: Zope-2_5-branch
	GlobbingLexicon.py 
Log Message:
merge from trunk


=== Zope/lib/python/Products/PluginIndexes/TextIndex/GlobbingLexicon.py 1.9 => 1.9.2.1 ===
         
         # First, deal with multi-character globbing
-        result = string.replace(result, '*', '.*')
+        result = result.replace( '*', '.*')
 
         # Next, we need to deal with single-character globbing
-        result = string.replace(result, '?', '.')
+        result = result.replace( '?', '.')
 
         return "%s$" % result