*) hopefully fixed a stupid bug (my fault of course) that sometimes messed up the marking of search words in the snippets (see http://www.yacy-forum.de/viewtopic.php?p=37329#37329)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3908 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
low012 2007-06-17 16:29:04 +00:00
parent 2c70228f5f
commit c59a7ce5c2

View File

@ -183,7 +183,7 @@ public class plasmaSnippetCache {
// cut off prefix if it contains of non-characters or non-numbers
while(w[j].matches("\\A[^\\p{L}\\p{N}].+")) {
prefix = w[j].substring(0,1) + prefix;
prefix = prefix + w[j].substring(0,1);
w[j] = w[j].substring(1);
}