java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 3 [\0-] ^

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via htmlunit by csp-a0zvq5m
, 1 year ago
Illegal octal escape sequence near index 3 [\0-] ^
via htmlunit by lehop
, 9 months ago
Illegal octal escape sequence near index 3 ^\0 ^
via GitHub by WangWeiHuawwh
, 2 years ago
Illegal/unsupported escape sequence near index 3 D:\github_src\DroidFix\app\build\intermediates\transforms\proguard\debug\jars\3\1f\main ^
via Google Groups by Edgaras, 5 months ago
Illegal/unsupported escape sequence nea index 10 [dspace_dir]\log\dspace.log ^
java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 3 [\0-] ^
at java.util.regex.Pattern.error(Pattern.java:1955)
at java.util.regex.Pattern.o(Pattern.java:3192)
at java.util.regex.Pattern.escape(Pattern.java:2300)
at java.util.regex.Pattern.range(Pattern.java:2633)
at java.util.regex.Pattern.clazz(Pattern.java:2562)
at java.util.regex.Pattern.sequence(Pattern.java:2063)
at java.util.regex.Pattern.expr(Pattern.java:1996)
at java.util.regex.Pattern.compile(Pattern.java:1696)
at java.util.regex.Pattern.(Pattern.java:1351)
at java.util.regex.Pattern.compile(Pattern.java:1054)
at com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxy.doAction(HtmlUnitRegExpProxy.java:126)
at net.sourceforge.htmlunit.corejs.javascript.NativeString.execIdCall(NativeString.java:514)
at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:93)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1536)
at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798)
at com.gargoylesoftware.htmlunit.javascript.host.event.EventHandler.call(EventHandler.java:83)
at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$4.doRun(JavaScriptEngine.java:794)

Users with the same issue

Once, 6 days ago
6 times, 1 week ago
Once, 1 week ago
3 times, 1 month ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.