All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.puppycrawl.tools.checkstyle.meta.checks.regexp.RegexpMultilineCheck.xml Maven / Gradle / Ivy

Go to download

Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard

There is a newer version: 10.18.1
Show newest version
<?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>&lt;p&gt;
 Checks that a specified pattern matches across multiple lines in any file type.
 &lt;/p&gt;
 &lt;p&gt;
 Rationale: This check can be used to when the regular expression can be span multiple lines.
 &lt;/p&gt;</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>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy