java.util.regex.PatternSyntaxException

Unclosed group near index 2 %( ^

Solutions on the web575

  • via Stack Overflow by smeeb
    , 11 months ago
    Unclosed group near index 2 %( ^
  • via Stack Overflow by user3025996
    , 1 year ago
    Unclosed group near index 2 ( ^
  • Unclosed group near index 2 e( ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Unclosed group near index 2 %( ^ at java.util.regex.Pattern.error(Pattern.java:1955) at java.util.regex.Pattern.accept(Pattern.java:1813) at java.util.regex.Pattern.group0(Pattern.java:2908)

    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

    12 times, 1 month ago
    Once, 1 month ago
    Once, 3 months ago
    2 times, 3 months ago
    14 times, 3 months ago
    22 more bugmates