zloirock/core-js

[RegExp] Match Indices

Open

#1.507 aberto em 5 de fev. de 2026

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (1.609 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (23.771 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador