Skip to content

Files

Latest commit

 

History

History
25 lines (15 loc) · 600 Bytes

RegexpMultiline.md

File metadata and controls

25 lines (15 loc) · 600 Bytes

Pattern: Possible issue spanning multiple lines

Issue: -

Description

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.

Examples

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>

Further Reading