zloirock/core-js

[RegExp] Match Indices

Open

#1,507 创建于 2026年2月5日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)JavaScript (1,609 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (23,771 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

execute: const test = new RegExp('.', 'd'); output: Uncaught SyntaxError: Invalid flags supplied to RegExp constructor 'd' at new RegExp () at :1:14 (anonymous) @ VM524:1


https://github.com/tc39/proposal-regexp-match-indices

贡献者指南