While `RegexpMultiline` can do this it is not discoverable by users: ``` xml <module name="RegexpMultiline"> <property name="format" value="\r\n"/> <property name="message" value="Do not use Windows line endings"/> </module> ``` ## ATTENTION: new Check discussion is moved to new issue - https://github.com/checkstyle/checkstyle/issues/18109