News

In some regex implementations there are only nine of them, however, with most contemporary Javascript implementations you can have up to 99 such capture-groups (where such groups are 1-based).
The ECMAScript 2025 specification will likely be finalized in June, with finished proposals including JSON modules, new regex capabilities, and new Set methods published by year-end.
So I'm working with Cypress and I'm attempting to understand how to verify a URL via regex matching; but I want to use several character sets in the regex, and I want to add a variable as well.
New features in ECMAScript 2022 include top-level await, RegExp match indices, new public and private class fields, and more. Let's get started!