java.util.regex.PatternSyntaxException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Regular expression: backslash inside bracket
    via by Jeppe Sommer,
  • Exception when replacing brackets
    via Stack Overflow by Kewitschka
    ,
  • java.util.regex.PatternSyntaxException
    via Stack Overflow by user3211607
    ,
  • java error for extraction
    via by deepika deepi,
  • java error for extraction
    via by deepika deepi,
    • java.util.regex.PatternSyntaxException: Illegal character range near index 21 [0-9a-zA-Zµã°ÏÕ┼.@_-\\]{6,50} ^ at java.util.regex.Pattern.error(Pattern.java:1650) at java.util.regex.Pattern.range(Pattern.java:2272) at java.util.regex.Pattern.clazz(Pattern.java:2213) at java.util.regex.Pattern.sequence(Pattern.java:1727) at java.util.regex.Pattern.expr(Pattern.java:1687) at java.util.regex.Pattern.compile(Pattern.java:1397) at java.util.regex.Pattern.<init>(Pattern.java:1124) at java.util.regex.Pattern.compile(Pattern.java:817)

    Users with the same issue

    Andreas Häber
    1 times, last one,
    Dunmer
    14 times, last one,
    aldrinleal
    1 times, last one,
    jstrayer
    2 times, last one,
    Handemelindo
    1 times, last one,
    23 more bugmates