Pattern patPunc = Pattern.compile("[`~!@#$^&*()=|{}':;',\\[\\].<>/?~!@#¥……&*()——|{}【】‘;:”“'。,、?]$");
Matcher matcher = patPunc.matcher(str);
matcher.find()  //false

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-01-08
  • 2022-02-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2021-08-12
相关资源
相似解决方案