2ality | JavaScript and more
Follow
ECMAScript 2025 feature: duplicate named capturing groups for regular expressions
In this blog post, we take a look at the ECMAScript 2025 feature “Duplicate named capturing groups” which was proposed by Kevin Gibbons.It’s a feature for regular expressions that enables us to use the same capturing group name more than once.