WPT details: Tested in test262. https://github.com/tc39/test262/pull/3625 https://github.com/tc39/test262/pull/3706 https://github.com/tc39/test262/pull/3709
https://github.com/tc39/proposal-duplicate-named-capturing-groups
https://github.com/tc39/proposal-duplicate-named-capturing-groups