This commit is contained in:
parent
fada4a1c78
commit
135a032fab
|
@ -8,12 +8,10 @@ Uses a regular expression to match and replace token substrings.
|
||||||
|
|
||||||
The `pattern_replace` filter uses
|
The `pattern_replace` filter uses
|
||||||
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html[Java's
|
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html[Java's
|
||||||
regular expression syntax]. By default, the filter replaces matching
|
regular expression syntax]. By default, the filter replaces matching substrings
|
||||||
substrings with an empty substring (`""`).
|
with an empty substring (`""`). Replacement substrings can use Java's
|
||||||
|
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#appendReplacement-java.lang.StringBuffer-java.lang.String-[`$g`
|
||||||
Replacement substrings can use Java's
|
syntax] to reference capture groups from the original token text.
|
||||||
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#appendReplacement-java.lang.StringBuffer-java.lang.String-[`$g` syntax] to reference capture groups
|
|
||||||
from the original token text.
|
|
||||||
|
|
||||||
[WARNING]
|
[WARNING]
|
||||||
====
|
====
|
||||||
|
|
Loading…
Reference in New Issue