Skip to main content
Mar 30, 2023 9:25 PM UTC
Question

"SyntaxError: invalid regular expression flags" when building a RegExp with 'd' flag

“SyntaxError: invalid regular expression flags” when building a RegExp with ‘d’ flag. Other flags work fine, I use flags “/gid” together. I need to get indices of all matched substrings.

This topic has been closed for replies.