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
|
||||
https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html[Java's
|
||||
regular expression syntax]. By default, the filter replaces matching
|
||||
substrings 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` syntax] to reference capture groups
|
||||
from the original token text.
|
||||
regular expression syntax]. By default, the filter replaces matching substrings
|
||||
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`
|
||||
syntax] to reference capture groups from the original token text.
|
||||
|
||||
[WARNING]
|
||||
====
|
||||
|
|
Loading…
Reference in New Issue