This filter reader is semantically almost equivalent with
<tokenfilter> <filetokenizer /> <replaceregex pattern="regex" flags="s" replace="replacement-string" /> </tokenfilter>
, but is much more efficient in many cases, because the
<filetokenizer /> always reads the entire content
into memory, while
<replaceAll /> processes the content in a "sliding" manner which requires only very
little memory if the regex matches relative short sequences.
||The pattern to search for in the content.|
||A "replacement expression" to use for the substitution of each match.|
||The "replacement string" to use for the substitution of each match.|
||Another replacement specification (this filter reader can execute multiple replacements in a row).|
Default values are underlined.
Copyright © 2019. All rights reserved.