java.util.regex.PatternSyntaxException: Unexpected in ternal error near index 1 \ ^

Coderanch | Eliot Skywalker | 1 decade ago
  1. 0

    why compile error in "Pattern.compile()?

    Coderanch | 1 decade ago | Eliot Skywalker
    java.util.regex.PatternSyntaxException: Unexpected in ternal error near index 1 \ ^
  2. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 4 years ago
    java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ${fizz} ^
  3. 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+$ ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when replacing brackets

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

    Android app crashes when any math parser is included

    Stack Overflow | 3 years ago | John Smith
    java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1: } ^

  1. Handemelindo 1 times, last 4 weeks ago
  2. raytest 1 times, last 1 month ago
  3. rlovtangen 1 times, last 1 month ago
  4. davidvanlaatum 2 times, last 4 months ago
  5. mortalman7 1 times, last 6 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

    Unexpected in ternal error near index 1 \ ^

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Pattern.java:1489)
    2. java.util.regex.Pattern.compile(Pattern.java:1281)
    3. java.util.regex.Pattern.<init>(Pattern.java:1030)
    4. java.util.regex.Pattern.compile(Pattern.java:777)
    4 frames
  3. Unknown
    Rep.main
    1. Rep.main(Rep.java:7)
    1 frame