Author: j16sdiz
Date: 2008-12-19 16:29:53 +0000 (Fri, 19 Dec 2008)
New Revision: 24622

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
and here too

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-12-19 16:29:41 UTC (rev 
24621)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-12-19 16:29:53 UTC (rev 
24622)
@@ -789,7 +789,7 @@
                         * determine the position of the word in the retrieved 
page
                         * FIXME - replace with a real tokenizor
                         */
-                       String[] words = s.split("[^\\p{L}\\{N}]");
+                       String[] words = s.split("[^\\p{L}\\{N}]+");
 
                        if(lastPosition == null)
                                lastPosition = 1; 

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to