This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Create a method such as the following: public void testReads() { System.out.println("testReads"); assertEquals ("<\\s*[Ll][Ii]\\s*>(.*?)<\\s*/[lL][iI]\\s*>", listitems.getPatternString()); } Now put a /* above that method. The parser finds the closing */ somewhere inside the regular expression, and the rest of the file has wavy underlines. Not sure if it belongs to the Java module or somewhere else, or even for sure that it's a bug...but it does make commenting tests out painful.
Sorry, but I do not think this is a bug, I think the source is parsed according to the JLS. Could you use '//' (Ctrl-Shift-T) to comment out the code?
You're right.