Home Regex for a proper closure of checkstyle
 Is there a way to create a regex, that will check for proper 'closure' of a checkstyle (which begins with //)? // CHECKSTYLE:OFF protected void doSomething() { } // CHECKSTYLE:ON // CHECKSTYLE:OFF protected void doSomethingElse() { // CHECKSTYLE:ON }  If there is a typo in the first CHECKSTYLE:ON, the rest of checkstyles will be ignored.