正则(?i)regex

String reg = "(?!)[a-zA-Z]"; //abcD

(?i)regex 表示?i右侧字符不区分大小写
posted @ 2021-01-31 13:14  规格严格-功夫到家  阅读(1777)  评论(0编辑  收藏  举报