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.


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer

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.


This content originally appeared on 2ality – JavaScript and more and was authored by Dr. Axel Rauschmayer


Print Share Comment Cite Upload Translate Updates
APA

Dr. Axel Rauschmayer | Sciencx (2024-05-16T00:00:00+00:00) ECMAScript 2025 feature: duplicate named capturing groups for regular expressions. Retrieved from https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/

MLA
" » ECMAScript 2025 feature: duplicate named capturing groups for regular expressions." Dr. Axel Rauschmayer | Sciencx - Thursday May 16, 2024, https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/
HARVARD
Dr. Axel Rauschmayer | Sciencx Thursday May 16, 2024 » ECMAScript 2025 feature: duplicate named capturing groups for regular expressions., viewed ,<https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/>
VANCOUVER
Dr. Axel Rauschmayer | Sciencx - » ECMAScript 2025 feature: duplicate named capturing groups for regular expressions. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/
CHICAGO
" » ECMAScript 2025 feature: duplicate named capturing groups for regular expressions." Dr. Axel Rauschmayer | Sciencx - Accessed . https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/
IEEE
" » ECMAScript 2025 feature: duplicate named capturing groups for regular expressions." Dr. Axel Rauschmayer | Sciencx [Online]. Available: https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/. [Accessed: ]
rf:citation
» ECMAScript 2025 feature: duplicate named capturing groups for regular expressions | Dr. Axel Rauschmayer | Sciencx | https://www.scien.cx/2024/05/16/ecmascript-2025-feature-duplicate-named-capturing-groups-for-regular-expressions/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.