Namespace: FluentRegex
Represents all* known anchors for regex.
public static class Anchors
Matches the position at the start of the string. If the Multiline option is enabled, also matches immediately after a line break character.
public static string StartOfLine;
Matches the position at the end of the string or before the line break at the end of the string. If the Multiline option is enabled, also matches before a line break character.
public static string EndOfLine;
Matches a word boundary position such as whitespace, punctuation, or the start/end of the string.
public static string StartOfWord;
Matches a word boundary position such as whitespace, punctuation, or the start/end of the string.
public static string EndOfWord;
Matches a position that is a word boundary.
public static string WordBoundary;
Matches a position that is not a word boundary.
public static string NonWordBoundary;
Matches the position at the end of the string. Not satisfied by a new line character, therefor must be at the very end of the string.
public static string EndOfString;
Matches the position at the end of the string. Ignores multiline mode. Matches before a new line (\n) character, but not before a new line sequence (\r\n).
public static string EndOfStringNoLineBreak;