[Zope-CVS] CVS: Products/ZCTextIndex - HTMLSplitter.py:1.4

Jeremy Hylton jeremy@zope.com
Tue, 14 May 2002 18:20:00 -0400


Update of /cvs-repository/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv25127

Modified Files:
	HTMLSplitter.py 
Log Message:
Remove _ in call to a string's split() method.

A little overzealous in the last checkin.


=== Products/ZCTextIndex/HTMLSplitter.py 1.3 => 1.4 ===
             text = re.sub(pat, " ", text)
         rx = re.compile("[A-Za-z]")
-        return [word for word in text._split()
+        return [word for word in text.split()
                 if len(word) > 1 and rx.search(word)]
 
 if __name__ == "__main__":