View Javadoc
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)all files
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 InputRegexpMultilineMultilineSupport {
21      void method() { // violation below
22  // abc
23  // def
24  // abc
25      }
26  
27      void method2() {
28  // def
29  // abc
30      }
31  }