java.util.regex.PatternSyntaxException: Unclosed character

1.11K views
0
0 Comments

Exception in thread “main” java.util.regex.PatternSyntaxException: Unclosed character class near index 10
[googleapps
^
at java.util.regex.Pattern.error(Pattern.java:1957)
at java.util.regex.Pattern.clazz(Pattern.java:2550)
at java.util.regex.Pattern.sequence(Pattern.java:2065)
at java.util.regex.Pattern.expr(Pattern.java:1998)
at java.util.regex.Pattern.compile(Pattern.java:1698)
at java.util.regex.Pattern.<init>(Pattern.java:1351)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at java.lang.String.split(String.java:2380)
at java.lang.String.split(String.java:2422)
at com.wp.web.UpdatePost.main(UpdatePost.java:36)

Changed status to publish