java.util.regex.PatternSyntaxException: Unclosed character class near index解决办法时间:2023-03-09 08:49:14 使用str.split("[")时,出现java.util.regex.PatternSyntaxException: Unclosed character class near index [ ^的问题 解决办法为在[加上\\转义