Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) If there is more than one pair of patterns in a line, all of them (and not only one pair) will be replaced.

low0121bc4d8d4709d
diff --git a/source/de/anomic/data/wikiCode.java b/source/de/anomic/data/wikiCode.java
index 893191afc..135a2b22d 100644
--- a/source/de/anomic/data/wikiCode.java
+++ b/source/de/anomic/data/wikiCode.java
@@ -1061,6 +1061,8 @@ public class wikiCode {
}
}
}
+ //recursion if the pattern can still be found in the line
+ if(input.indexOf(pat) >= 0) {input = pairReplace(input, pat, repl1, repl2);}
return input;
}