摘要: 正则表达式是用于匹配字符串中字符组合的模式。在 JavaScript 中,正则表达式也是对象。这些模式被用于 RegExp 的 exec 和 test 方法, 以及 String 的 match、matchAll、replace、search 和 split 方法。正则表达式的掌握程度能粗略地看出程 阅读全文
posted @ 2020-08-15 17:14 Jafeney 阅读(253) 评论(0) 推荐(0) 编辑