Specify whether to cache parsed pattern metadata for patterns passed
into this matcher's {@link #match} method. A value of {@code true}
activates an unlimited pattern cache; a value of {@code false} turns
the pattern cache off completely.
<p>Default is for the cache to be on, but with the variant to automatically
turn it off when encountering too many patterns to cache at runtime
(the threshold is 65536), assuming that arbitrary permutations of patterns
are coming in, with little chance for encountering a recurring pattern.
@since 4.0.1
@see #getStringMatcher(string)
Specify whether to cache parsed pattern metadata for patterns passed into this matcher's {@link #match} method. A value of {@code true} activates an unlimited pattern cache; a value of {@code false} turns the pattern cache off completely. <p>Default is for the cache to be on, but with the variant to automatically turn it off when encountering too many patterns to cache at runtime (the threshold is 65536), assuming that arbitrary permutations of patterns are coming in, with little chance for encountering a recurring pattern. @since 4.0.1 @see #getStringMatcher(string)