|
@@ -7,3 +7,17 @@ defined using the `pattern` parameter, and the replacement string can be
|
|
|
provided using the `replacement` parameter (supporting referencing the
|
|
|
original text, as explained
|
|
|
http://docs.oracle.com/javase/6/docs/api/java/util/regex/Matcher.html#appendReplacement(java.lang.StringBuffer,%20java.lang.String)[here]).
|
|
|
+
|
|
|
+[WARNING]
|
|
|
+.Beware of Pathological Regular Expressions
|
|
|
+========================================
|
|
|
+
|
|
|
+The pattern replace token filter uses
|
|
|
+http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html[Java Regular Expressions].
|
|
|
+
|
|
|
+A badly written regular expression could run very slowly or even throw a
|
|
|
+StackOverflowError and cause the node it is running on to exit suddenly.
|
|
|
+
|
|
|
+Read more about http://www.regular-expressions.info/catastrophic.html[pathological regular expressions and how to avoid them].
|
|
|
+
|
|
|
+========================================
|