java.util.regex.PatternSyntaxException

Illegal repetition near index 0 ${ ^

Solutions on the web596

  • via GitHub by sakarikl
    , 10 months ago
    Illegal repetition near index 0 ${ ^
  • Illegal repetition near index 0 ^{test,test2}.*$ ^
  • via Google Groups by Unknown author, 1 year ago
    Illegal repetition near index 0 ${openengsb\.imports} ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ${ ^ at java.util.regex.Pattern.error(Pattern.java:1955) at java.util.regex.Pattern.closure(Pattern.java:3157) at java.util.regex.Pattern.sequence(Pattern.java:2134) at java.util.regex.Pattern.expr(Pattern.java:1996) at java.util.regex.Pattern.compile(Pattern.java:1696)

    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