java.util.regex.PatternSyntaxException: Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^

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 Coderanch by Ron McLeod, 1 year ago
Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^
via Coderanch by Jeppe Sommer, 1 year ago
Illegal character range near index 21 [0-9a-zA-Zµã°ÏÕ┼.@_-\\]{6,50} ^
via Oracle Community by 807553, 1 year ago
Unexpected character '?' near index 0 [{]([0-9A-Za-z]+)[}] ^
via Google Groups by Uwe Ziegenhagen, 1 month ago
Unexpected character '?' near index 1 [,{space}]+ ^
via GitHub by niccottrell
, 1 year ago
Illegal character range near index 223 ^Third International Forum of Santo Domingo \u201CTime for reforms\u201D: What should Latin America do to become a more democratic, prosperous, equitable and safe region? [http://www.idea.int/americas/third
via Stack Overflow by Destructor
, 2 years ago
Illegal character range near index 3 [+-*/] ^
java.util.regex.PatternSyntaxException: Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^
at java.util.regex.Pattern.error(Pattern.java:1955)
at java.util.regex.Pattern.range(Pattern.java:2655)
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:1028)
at undefined.ResearchPattern.main(ResearchPattern.java:9)

Users with the same issue

Once, 2 days ago
6 times, 5 days ago
Once, 1 week ago
3 times, 3 weeks ago
Once, 2 months ago

Write tip

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