Pattern: Possible issue spanning multiple lines
Issue: -
A check for detecting that matches across multiple lines. Works with any file type.
Rationale: This check can be used to when the regular expression can be span multiple lines.
To configure the check to find calls to print to the console:
<module name="RegexpMultiline">
<property name="format"
value="System\.(out)|(err)\.print(ln)?\("/>
</module>