FluentRegex

CharacterClasses

Namespace: FluentRegex

Represents all known character classes for regex.

public static class CharacterClasses

Inheritance ObjectCharacterClasses

Fields

Digit

Represents the digit character class [0-9].

public static string Digit;

NonDigit

Represents the non-digit character class [^0-9].

public static string NonDigit;

Word

Represents the word character class [a-zA-Z0-9_].

public static string Word;

NonWord

Represents the non-word character class [^a-zA-Z0-9_].

public static string NonWord;

Whitespace

Represents the whitespace character class \s.

public static string Whitespace;

NonWhitespace

Represents the non-whitespace character class \S.

public static string NonWhitespace;

Tab

Represents the tab character class \t.

public static string Tab;

Newline

Represents the newline character class \n.

public static string Newline;

LowercaseLetter

Represents the lowercase letter character class [a-z].

public static string LowercaseLetter;

UppercaseLetter

Represents the uppercase letter character class [A-Z].

public static string UppercaseLetter;

HexDigit

Represents the hexadecimal digit character class [0-9a-fA-F].

public static string HexDigit;

NonHexDigit

Represents the non-hexadecimal digit character class [^0-9a-fA-F].

public static string NonHexDigit;

AnyCharacter

Represents the any character class [\s\S].

public static string AnyCharacter;

StartOfLine

Represents the start of line character class ^.

public static string StartOfLine;

EndOfLine

Represents the end of line character class $.

public static string EndOfLine;

WordBoundary

Represents the start or end of word character class \b.

public static string WordBoundary;

NonWordBoundary

Represents a boundary that is not a word boundary \B.

public static string NonWordBoundary;

EndOfString

Represents the end of string character class \Z.

public static string EndOfString;

EndOfStringNoLineBreak

Represents the end of string character class \z.

public static string EndOfStringNoLineBreak;