String line = "blah,blah [ tweet,tweet";
如果我做
line.split("[");
我收到一个错误
Exception in thread “main” java.util.regex.PatternSyntaxException: Unclosed character class near index 1 [
任何帮助?
line.split("\\[");