摘要: 一、String.matches() ## 用于过滤需要处理的日志(如空格空行错误字符) 语句: "!123".matches("[a-zA-Z0-9]{4}") //false "34Az".matches("[a-zA-Z0-9]{4}") //true // 应用: // 1.scala读取l 阅读全文
posted @ 2020-09-17 10:05 PEAR2020 阅读(2756) 评论(0) 推荐(0) 编辑