Unexpected character '?' near index 0 [{]([0-9A-Za-z]+)[}] ^

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web577

  • via Oracle Community by 807553, 11 months ago
    Unexpected character '?' near index 0 [{]([0-9A-Za-z]+)[}] ^
  • Unclosed counted closure near index 46 \(\[-0-9a-zA-Z.+_\]+@\[-0-9a-zA-Z.+_\]+\.\[a-zA-Z\]\{2 ^
  • via Coderanch by Jeppe Sommer, 11 months ago
    Illegal character range near index 21 [0-9a-zA-Zµã°ÏÕ┼.@_-\\]{6,50} ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Unexpected character '?' near index 0 [{]([0-9A-Za-z]+)[}] ^ at java.util.regex.Pattern.error( at java.util.regex.Pattern.range( at java.util.regex.Pattern.clazz( at java.util.regex.Pattern.sequence( at java.util.regex.Pattern.expr( at java.util.regex.Pattern.compile( at java.util.regex.Pattern.<init>( at java.util.regex.Pattern.compile( at Test_jdk14.main(

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    14 times, 3 months ago
    Once, 4 months ago
    2 times, 5 months ago
    Once, 6 months ago
    23 more bugmates