zloirock/core-js

[RegExp] Match Indices

Open

#1,507 建立於 2026年2月5日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (23,771 star) (1,609 fork)batch import
enhancementhelp wanted

描述

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

貢獻者指南