Java \ Pattern - how to write a pattern that verifies the lack of a string?

后端 未结 3 2030
盖世英雄少女心
盖世英雄少女心 2021-01-22 19:40

I tried from https://docs.oracle.com/javase/1.5.0/docs/api/java/util/regex/Pattern.html.

I have

Pattern PATTERN = Pattern.compile(\"agg{0}.*\");
Matcher         


        
3条回答
提交回复
热议问题