This filter is similar to Section E.6, “Line Contains ” but you can specify regular expressions instead of simple strings.
<filterchain> <linecontainsregexp> <regexp pattern="foo(.*)bar" /> </linecontainsregexp> </filterchain>
The LineContains filter has to contain at least one regexp tag. This must have a pattern attribute that is set to a regular expression.
LineContains
regexp
pattern