View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="RegexpOnFilename">
4       <property name="fileNamePattern" value="^([A-Z][a-z0-9]+\.?)+$"/>
5       <property name="match" value="false"/>
6       <property name="ignoreFileNameExtensions" value="true"/>
7       <message key="regexp.filename.mismatch"
8         value="only filenames in camelcase is allowed"/>
9     </module>
10  </module>
11  */
12  package com.puppycrawl.tools.checkstyle.checks.regexp.regexponfilename;
13  /*
14  // xdoc section -- start
15  .../checkstyle.xml    // violation, 'only filenames in camelcase is allowed'
16  .../Test Example1.xml // violation, 'only filenames in camelcase is allowed'
17  .../TestExample2.xml
18  .../TestExample3.md
19  .../TestExample4.xml
20  // xdoc section -- end
21  */
22  class Example5 {}