Namespace: FluentRegex
Represents the style of a named group in a regular expression pattern.
public enum NamedGroupStyle
Inheritance Object → ValueType → Enum → NamedGroupStyle
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Remarks:
A named group is a capturing group that can be referenced by name.
Name | Value | Description |
---|---|---|
SingleQuote | 0 | The named group is enclosed in single quotes. |
AngleBrackets | 1 | The named group is enclosed in angle brackets. |
PStyle | 2 | The named group is enclosed in angle brackets, preceded by a question mark and the letter 'P'. |