java.util.regex.PatternSyntaxException

Dangling meta character '*' near index 0 *welcome* ^

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 web576

  • via Coderanch by somkiat puisungnoen, 9 months ago
    Dangling meta character '*' near index 0 *welcome* ^
  • via Eclipse Bugzilla by maroukhian, 1 year ago
    Dangling meta character '*' near index 0 *.0 ^
  • via Oracle Community by 807594, 11 months ago
    Dangling meta character '+' near index 0 + ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 *welcome* ^ at java.util.regex.Pattern.error(Pattern.java:1528) at java.util.regex.Pattern.sequence(Pattern.java:1645) at java.util.regex.Pattern.expr(Pattern.java:1545) at java.util.regex.Pattern.compile(Pattern.java:1279) at java.util.regex.Pattern.<init>(Pattern.java:1035) at java.util.regex.Pattern.compile(Pattern.java:779) at com.spns.history.TestPattern.main(TestPattern.java:21)

    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