摘要: 1、异常案例: 使用正则匹配111 const regular = /111/g; // 匹配111 // console.log(regular.test('111')); // true 匹配成功 // console.log(regular.test('111,111')); // true 阅读全文
posted @ 2023-04-16 03:37 天渺工作室 阅读(59) 评论(0) 推荐(0) 编辑