[DOCS] Fix whitespace in pattern replace token filter docs (#64345) (#64350)

This commit is contained in:
James Rodewig 2020-10-29 10:42:02 -04:00 committed by GitHub
parent fada4a1c78
commit 135a032fab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -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]
==== ====