This filter is only "permeable" for lines that contain the expression given as
parameter. For example, the following filterchain would only let all the lines pass that
contain class
:
<filterchain> <linecontains> <contains value="class" /> </linecontains> </filterchain>
Table E.6: Attributes for the <linecontains>
filter
Name | Type | Description | Default | Required |
---|---|---|---|---|
negate | Boolean | Whether to select non-matching lines only. | false | No |
matchAny | Boolean | If false , then all the strings are expected to be present in the line.
If true , then the presence of any of the strings in the line
is considered a successful match. | false | No |