zloirock/core-js

[RegExp] Match Indices

Open

#1,507 opened on 2026年2月5日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (23,771 stars) (1,609 forks)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

コントリビューターガイド