正则表达式如何匹配"" 张紫娃 2022-05-24 142 阅读1分钟 正则表达式如何匹配""? 不墨迹、直接上代码!!!! ^$ System.out.println(Pattern.compile("^$").matcher("").find()); //true