From 135a032fab8a7cae9520fdbbdd1271eace8ae371 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 29 Oct 2020 10:42:02 -0400 Subject: [PATCH] [DOCS] Fix whitespace in pattern replace token filter docs (#64345) (#64350) --- .../tokenfilters/pattern_replace-tokenfilter.asciidoc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/reference/analysis/tokenfilters/pattern_replace-tokenfilter.asciidoc b/docs/reference/analysis/tokenfilters/pattern_replace-tokenfilter.asciidoc index b28fde47d58..37b96f23c8a 100644 --- a/docs/reference/analysis/tokenfilters/pattern_replace-tokenfilter.asciidoc +++ b/docs/reference/analysis/tokenfilters/pattern_replace-tokenfilter.asciidoc @@ -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] ====