Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
2.0-rc2
-
None
-
None
Description
RegexFilter is constructed with a pattern, but pattern does not support multiline matches, so impossible for the filter to ever match a multiline msg.
Should maybe provide a multline="x attribute whichi should default to true and result in the patter being compiled as such:
Pattern pattern = Pattern.compile(".line.", Pattern.DOTALL);
See attached UnitTest illustrating failure