<check enabled="true" class="org.scalastyle.file.HeaderMatchesChecker" level="warning"> <parameters> <parameter name="regex">true</parameter> <parameter name="header">// Copyright \(C\) (?:\d{4}-)?\d{4} the original author or authors.</parameter> </parameters> </check>