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

Coderanch | Ron McLeod | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Pattern Research with a dynamic string to find

    Coderanch | 8 months ago | Ron McLeod
    java.util.regex.PatternSyntaxException: Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^
  2. 0

    Factoid searches yield regex failure

    GitHub | 2 years ago | evanchooly
    java.util.regex.PatternSyntaxException: Illegal character range near index 90 RGNBXMJ29.298, <A HREF="HTTP://123DIET-GUIDE.COM/">DIET</A>, SQFUNDM, [URL=HTTP://123DIET-GUIDE.COM/]DIET[/URL], VOJHJVT, HTTP://123DIET-GUIDE.COM/ DIET, CBJJVVT. ^
  3. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 4 years ago
    java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ${fizz} ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PatternSyntaxException when trying to access Website with HtmlUnit

    Stack Overflow | 2 years ago
    java.util.regex.PatternSyntaxException: Illegal octal escape sequence near index 2 \0+$ ^
  6. 0

    Exception when replacing brackets

    Stack Overflow | 3 years ago | Kewitschka
    java.util.regex.PatternSyntaxException: Incorrectly nested parentheses in regexp pattern near index 1: ) ^

  1. Handemelindo 1 times, last 2 months ago
  2. raytest 1 times, last 2 months ago
  3. rlovtangen 1 times, last 2 months ago
  4. davidvanlaatum 2 times, last 5 months ago
  5. mortalman7 1 times, last 7 months ago
1 more registered users
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.regex.PatternSyntaxException

    Illegal character range near index 13 ^[a-zA-Z0-9_-./]*              ^

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Pattern.java:1955)
    2. java.util.regex.Pattern.range(Pattern.java:2655)
    3. java.util.regex.Pattern.clazz(Pattern.java:2562)
    4. java.util.regex.Pattern.sequence(Pattern.java:2063)
    5. java.util.regex.Pattern.expr(Pattern.java:1996)
    6. java.util.regex.Pattern.compile(Pattern.java:1696)
    7. java.util.regex.Pattern.<init>(Pattern.java:1351)
    8. java.util.regex.Pattern.compile(Pattern.java:1028)
    8 frames
  3. Unknown
    ResearchPattern.main
    1. ResearchPattern.main(ResearchPattern.java:9)
    1 frame