摘要: 1.如果出现数组的单词则屏蔽(匹配成功) function createSensitiveRegex(words) { const escaped = words.map(word => word.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')); return new 阅读全文
posted @ 2025-04-22 14:29 与f 阅读(31) 评论(0) 推荐(0)