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.
The line: indexOfBegin = lineToParse.indexOf("\\begin\{"); is being underlined with the warning "illegal escape character". \\ and \{ are valid and my program works as expected if I run it.
(In reply to comment #0) > \\ and \{ are valid AFAIK \{ is not a valid escape sequence according to the Java Language Specification, please see details on http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#101089