java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0 ? ^

Coderanch | Pramod P Deore | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    split the string

    Coderanch | 7 years ago | Pramod P Deore
    java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0 ? ^
  2. 0

    Error

    GitHub | 2 years ago | TurKurT656
    java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ ^
  3. 0

    Spliting a string with "\" in android

    Stack Overflow | 3 years ago | Adil Waqar
    java.util.regex.PatternSyntaxException: Unrecognized backslash escape sequence in pattern near index 1: \ ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PatternSyntaxException

    GitHub | 2 years ago | tjago
    java.util.regex.PatternSyntaxException: Unexpected internal error near index 1 \ ^
  6. 0

    CRASH REPORT: "When ever i step on a block from this mod i crash"

    GitHub | 3 years ago | diegoplaysminecraft
    java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 * ^

  1. Cafecanudo 2 times, last 7 months ago
  2. bpbhat77 1 times, last 8 months ago
  3. Juraji 1 times, last 11 months ago
1 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

    Dangling meta character '?' near index 0 ? ^

    at java.util.regex.Pattern.error()
  2. Java RT
    String.split
    1. java.util.regex.Pattern.error(Pattern.java:1713)
    2. java.util.regex.Pattern.sequence(Pattern.java:1878)
    3. java.util.regex.Pattern.expr(Pattern.java:1752)
    4. java.util.regex.Pattern.compile(Pattern.java:1460)
    5. java.util.regex.Pattern.<init>(Pattern.java:1133)
    6. java.util.regex.Pattern.compile(Pattern.java:823)
    7. java.lang.String.split(String.java:2293)
    8. java.lang.String.split(String.java:2335)
    8 frames
  3. Unknown
    StringSplit.main
    1. StringSplit.main(StringSplit.java:10)
    1 frame