Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) even better handling of searchwords in snippets, words can consist of letters and numbers now
low0122cfd4633ac67
diff --git a/source/de/anomic/plasma/plasmaSnippetCache.java b/source/de/anomic/plasma/plasmaSnippetCache.javaindex a50e98aab..138baf738 100644--- a/source/de/anomic/plasma/plasmaSnippetCache.java+++ b/source/de/anomic/plasma/plasmaSnippetCache.java@@ -146,12 +146,12 @@ public class plasmaSnippetCache {prefix = "";postfix = "";- while((w[j].matches("\\A\\PL.+"))) {+ while((w[j].matches("\\A[^\\p{L}\\p{N}].+"))) {prefix = w[j].substring(0,1) + prefix;w[j] = w[j].substring(1);}- while((w[j].matches(".+\\PL\\Z"))) {+ while((w[j].matches(".+[^\\p{L}\\p{N}]\\Z"))) {len = w[j].length();postfix = w[j].substring(len-1,len) + postfix;w[j] = w[j].substring(0,len-1);