java.util.regex.PatternSyntaxException: Unclosed character class [\r\\]

Oracle Community | 874376 | 5 years ago
  1. 0

    java.util.regex.PatternSyntaxException: Unclosed group near index XX

    Oracle Community | 5 years ago | 874376
    java.util.regex.PatternSyntaxException: Unclosed character class [\r\\]
  2. 0

    java.util.regex.PatternSyntaxException: Unclose... | Oracle Community

    oracle.com | 1 year ago
    java.util.regex.PatternSyntaxException: Unclosed character class [\r\n\\]
  3. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 3 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

    Exception when replacing brackets

    Stack Overflow | 2 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. davidvanlaatum 2 times, last 3 months ago
  2. mortalman7 1 times, last 4 months ago
  3. Christopher 5 times, last 6 months ago
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

    Unclosed character class [\r\\]

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Unknown Source)
    2. java.util.regex.Pattern.normalizeCharClass(Unknown Source)
    3. java.util.regex.Pattern.normalize(Unknown Source)
    4. java.util.regex.Pattern.compile(Unknown Source)
    5. java.util.regex.Pattern.<init>(Unknown Source)
    6. java.util.regex.Pattern.compile(Unknown Source)
    6 frames