1 /*xml 2 <module name="Checker"> 3 <module name="RegexpOnFilename"> 4 <property name="fileNamePattern" value=".*\.(properties|xml)$"/> 5 <property name="match" value="false"/> 6 <message key="regexp.filename.mismatch" 7 value="Only property and xml files to be located in the resource folder"/> 8 </module> 9 </module> 10 */ 11 package com.puppycrawl.tools.checkstyle.checks.regexp.regexponfilename; 12 /* 13 // xdoc section -- start 14 .../checkstyle.xml 15 .../Test Example1.xml 16 .../TestExample2.xml 17 .../TestExample3.md // violation, 'Only property and xml files to be located in the resource folder' 18 .../TestExample4.xml 19 // xdoc section -- end 20 */ 21 class Example4 {}