1 /*xml 2 <module name="Checker"> 3 <module name="RegexpSingleline"> 4 <property name="format" value="license"/> 5 <property name="minimum" value="1"/> 6 <property name="maximum" value="9999"/> 7 <property name="ignoreCase" value="true"/> 8 <!-- Configure a message to be shown on violation of the Check. --> 9 <property name="message" 10 value="File must contain at least one occurrence of 'license' term"/> 11 <!-- Perform the Check only on files with SQL extension. --> 12 <property name="fileExtensions" value="sql"/> 13 </module> 14 </module> 15 */ 16 package com.puppycrawl.tools.checkstyle.checks.regexp.regexpsingleline; 17 18 public class Example6 {} 19 // xdoc section -- start 20 // xdoc section -- end