1 /* 2 RegexpMultiline 3 format = (a)bc\.*?def 4 message = (default)(null) 5 ignoreCase = (default)false 6 minimum = (default)0 7 maximum = (default)0 8 matchAcrossLines = true 9 fileExtensions = (default)"" 10 11 12 */ 13 14 package com.puppycrawl.tools.checkstyle.checks.regexp.regexpmultiline; 15 16 /** 17 * Config format = 'ABC.*?DEF'(lowercased) 18 * matchAcrossLines = true 19 */ 20 public class InputRegexpMultilineMultilineSupport2 { 21 void method() { 22 // abc // violation 23 // def 24 // abc // violation 25 } 26 27 void method2() { 28 // def 29 // abc 30 } 31 }