View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="RegexpOnFilename">
4       <property name="fileNamePattern" value="^TestExample\d+\.xml$"/>
5       <message key="regexp.filename.match"
6         value="xml files should not match ''{1}''"/>
7     </module>
8   </module>
9   */
10  package com.puppycrawl.tools.checkstyle.checks.regexp.regexponfilename;
11  /*
12  // xdoc section -- start
13  .../checkstyle.xml
14  .../Test Example1.xml
15  .../TestExample2.xml // violation, 'xml files should not match '^TestExample\d+\.xml$''
16  .../TestExample3.md
17  .../TestExample4.xml // violation, 'xml files should not match '^TestExample\d+\.xml$''
18  // xdoc section -- end
19  */
20  class Example2 {}