E.6 LineContainsRegexp

This filter is similar to Section E.5, “Line Contains ” but you can specify regular expressions instead of simple strings.

<filterchain>
  <linecontainsregexp>
    <regexp pattern="foo(.*)bar" />
  </linecontainsregexp>
</filterchain>

E.6.1 Nested tags

The LineContains filter has to contain at least one regexp tag. This must have a pattern attribute that is set to a regular expression.