[ZCM] [ZC] 250/ 4 Resolve "TextIndex: Globbing with Unicode String doesn't work"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Thu, 28 Feb 2002 08:47:08 -0500


Issue #250 Update (Resolve) "TextIndex: Globbing with Unicode String doesn't work"
 Status Resolved, Zope/bug+solution medium
To followup, visit:
  http://collector.zope.org/Zope/250

==============================================================
= Resolve - Entry #4 by ajung on Feb 28, 2002 8:47 am

 Status: Accepted => Resolved

Patches applied to 2.5 branch and trunk.

Thanks a lot for submitting !
-aj
________________________________________
= Accept - Entry #3 by ajung on Feb 27, 2002 2:21 pm

 Status: Pending => Accepted

 Supporters added: ajung


________________________________________
= Comment - Entry #2 by snej on Feb 27, 2002 5:29 am


Uploaded:  "testTextIndex.py.patch"
 - http://collector.zope.org/Zope/250/testTextIndex.py.patch/view
the tests...
________________________________________
= Request - Entry #1 by snej on Feb 27, 2002 5:29 am


Uploaded:  "GlobbingLexicon.py.patch"
 - http://collector.zope.org/Zope/250/GlobbingLexicon.py.patch/view
GlobbingLexicon.createRegex uses string.translate()
to remove characters from the pattern. This is not
supported for unicode strings; instead, translate
is called with a mapping of ordinals.

Tests for the bug and a fix is attached.


==============================================================