java.util.regex.PatternSyntaxException: Illegal character range near index 21 [0-9a-zA-Zµã°ÏÕ┼.@_-\\]{6,50} ^

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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 Coderanch by Ron McLeod, 1 year ago
Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^
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 [+-*/] ^
via Oracle Community by 807605, 3 months ago
Illegal character range near index 47 [* &Com::Vwr::Web::HTML::Embperl::Execute($app->include_file_name('header'),$app, ^
java.util.regex.PatternSyntaxException: Illegal character range near index 21 [0-9a-zA-Zµã°ÏÕ┼.@_-\\]{6,50} ^
at java.util.regex.Pattern.error(Pattern.java:1650)
at java.util.regex.Pattern.range(Pattern.java:2272)
at java.util.regex.Pattern.clazz(Pattern.java:2213)
at java.util.regex.Pattern.sequence(Pattern.java:1727)
at java.util.regex.Pattern.expr(Pattern.java:1687)
at java.util.regex.Pattern.compile(Pattern.java:1397)
at java.util.regex.Pattern.(Pattern.java:1124)
at java.util.regex.Pattern.compile(Pattern.java:817)

Users with the same issue

5 times, 10 months ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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