You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* An array of Strings where each String is a {@link Pattern#compile(String, int)} compilation flag.
118
+
* (no longer used - pattern flags can be embedded in regex-expression.
119
+
* @param useRawMsg
120
+
* If {@code true}, for {@link ParameterizedMessage}, {@link StringFormattedMessage}, and {@link MessageFormatMessage}, the message format pattern; for {@link StructuredDataMessage}, the message field will be used as the match target.
121
+
* @param match
122
+
* The action to perform when a match occurs.
123
+
* @param mismatch
124
+
* The action to perform when a mismatch occurs.
125
+
* @return The RegexFilter.
126
+
* @throws IllegalAccessException When there is no access to the definition of the specified member.
127
+
* @throws IllegalArgumentException When passed an illegal or inappropriate argument.
128
+
* @deprecated use {@link #createFilter(String, Boolean, Result, Result)}
129
+
*/
130
+
@Deprecated
131
+
// TODO Consider refactoring to use AbstractFilter.AbstractFilterBuilder
* Creates a Filter that matches a regular expression.
149
+
*
150
+
* @param regex
151
+
* The regular expression to match.
126
152
* @param useRawMsg
127
153
* If {@code true}, for {@link ParameterizedMessage}, {@link StringFormattedMessage}, and {@link MessageFormatMessage}, the message format pattern; for {@link StructuredDataMessage}, the message field will be used as the match target.
0 commit comments