[docs] Pattern replace char filter now support flags

This commit is contained in:
Nik Everett 2016-06-09 12:41:20 -04:00
parent 6f222b5be1
commit 09cc4c449a
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ The `pattern_replace` character filter accepts the following parameters:
`$1`..`$9` syntax, as explained `$1`..`$9` syntax, as explained
http://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#appendReplacement-java.lang.StringBuffer-java.lang.String-[here]. http://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#appendReplacement-java.lang.StringBuffer-java.lang.String-[here].
`flags`::
Java regular expression http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html#field.summary[flags].
lags should be pipe-separated, eg `"CASE_INSENSITIVE|COMMENTS"`.
[float] [float]
=== Example configuration === Example configuration