Class RegexFilter

  • All Implemented Interfaces:
    Filter, LifeCycle, LifeCycle2

    @Plugin(name="RegexFilter",
            category="Core",
            elementType="filter",
            printObject=true)
    public final class RegexFilter
    extends AbstractFilter
    This filter returns the onMatch result if the message matches the regular expression. The "useRawMsg" attribute can be used to indicate whether the regular expression should be applied to the result of calling Message.getMessageFormat (true) or Message.getFormattedMessage() (false). The default is false.