Skip to content

RegexEdition

Definition

Namespace: Corvus.Ecma262.RegularExpressions
Assembly: Corvus.Regex.Ecma262.dll
Source: RegexEdition.cs

The edition of ECMA-262 whose grammar a pattern is read with.

public enum RegexEdition : IComparable, ISpanFormattable, IFormattable, IConvertible

Implements

IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Field Type Description
Current static RegexEdition Today's grammar, ECMAScript 2025: the default.
Es2020 static RegexEdition The grammar of ECMAScript 2020 (ECMA-262, 11th edition), which JSON Schema 2020-12 names. It refuses what later editions added, and nothing else: the d and v flags, modifier groups such as `(?i...

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue