Commits

Matt Chaput committed 59f4ac2

Fixed incorrect signature/behavior of Regex._get_pattern(). Thanks Thomas!
(This seems like it was leftover from design explorations.)
Fixes issue #205.

  • Participants
  • Parent commits 272b1dc
  • Branches cleanup2.4

Comments (0)

Files changed (1)

src/whoosh/query.py

 
     __str__ = __unicode__
 
-    def _get_pattern(self, text):
-        return text
+    def _get_pattern(self):
+        return self.text
 
     def _get_prefix(self, text):
         if "|" in text: