com.puppycrawl.tools.checkstyle.meta.checks.regexp.RegexpMultilineCheck.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkstyle Show documentation
Show all versions of checkstyle Show documentation
Checkstyle is a development tool to help programmers write Java code
that adheres to a coding standard
<?xml version="1.0" encoding="UTF-8"?> <checkstyle-metadata> <module> <check fully-qualified-name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck" name="RegexpMultiline" parent="com.puppycrawl.tools.checkstyle.Checker"> <description><p> Checks that a specified pattern matches across multiple lines in any file type. </p> <p> Rationale: This check can be used to when the regular expression can be span multiple lines. </p></description> <properties> <property default-value="$." name="format" type="java.lang.String"> <description>Specify the format of the regular expression to match.</description> </property> <property name="message" type="java.lang.String"> <description>Specify the message which is used to notify about violations, if empty then default (hard-coded) message is used.</description> </property> <property default-value="false" name="ignoreCase" type="boolean"> <description>Control whether to ignore case when searching.</description> </property> <property default-value="0" name="minimum" type="int"> <description>Specify the minimum number of matches required in each file.</description> </property> <property default-value="0" name="maximum" type="int"> <description>Specify the maximum number of matches required in each file.</description> </property> <property default-value="false" name="matchAcrossLines" type="boolean"> <description>Control whether to match expressions across multiple lines.</description> </property> <property default-value="" name="fileExtensions" type="java.lang.String[]"> <description>Specify the file type extension of files to process.</description> </property> </properties> <message-keys> <message-key key="regexp.StackOverflowError"/> <message-key key="regexp.empty"/> <message-key key="regexp.exceeded"/> <message-key key="regexp.minimum"/> </message-keys> </check> </module> </checkstyle-metadata>