java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 28 Not talking to me tonight??? Can't have volume where I am ^

Coderanch | Michael D Sims | 2 years ago
  1. 0

    Need help understanding why this regular expression works in RegExRx but not java

    Coderanch | 2 years ago | Michael D Sims
    java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 28 Not talking to me tonight??? Can't have volume where I am ^
  2. 0

    Fatal Exception java.util.regex.PatternSyntaxException

    GitHub | 3 years ago | reinhardt1053
    java.util.regex.PatternSyntaxException: In a character range [x-y], x is greater than y near index 15: ([^4.941744E-4]) ^
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unexpected exception thrown by the new ktest.

    GitHub | 3 years ago | traiansf
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 c:\Users\Traian\Documents\k\tutorial\1_k\4_imp++\lesson_5\exercises\no-duplicate-declarations\tests ^
  5. 0

    Regex Error

    GitHub | 3 years ago | pawelantczak
    java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 13 com\wakatime\intellij\plugin\WakaTime.class ^

    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

      Dangling meta character '?' near index 28 Not talking to me tonight??? Can't have volume where I am ^

      at java.util.regex.Pattern.error()
    2. Java RT
      String.replaceFirst
      1. java.util.regex.Pattern.error(Pattern.java:1955)
      2. java.util.regex.Pattern.sequence(Pattern.java:2123)
      3. java.util.regex.Pattern.expr(Pattern.java:1996)
      4. java.util.regex.Pattern.compile(Pattern.java:1696)
      5. java.util.regex.Pattern.<init>(Pattern.java:1351)
      6. java.util.regex.Pattern.compile(Pattern.java:1028)
      7. java.lang.String.replaceFirst(String.java:2165)
      7 frames
    3. textfiles
      FormatData.cleanString
      1. textfiles.FormatData.cleanString(FormatData.java:337)
      1 frame