RegexMatchFlags
Description:
[ Flags ]
public enum RegexMatchFlags
Flags specifying match-time options.
Content:
Enum values:
- ANCHORED - The pattern is forced to
be "anchored", that is, it is constrained to match only at the first matching point in the string that is being searched.
- NOTBOL - Specifies that first character
of the string is not the beginning of a line, so the circumflex metacharacter should not match before it.
- NOTEOL - Specifies that the end of the
subject string is not the end of a line, so the dollar metacharacter should not match it nor (except in multiline mode) a newline
immediately before it.
- NOTEMPTY - An empty string is not
considered to be a valid match if this option is set.
- PARTIAL - Turns on the partial
matching feature, for more documentation on partial matching see
is_partial_match.
- NEWLINE_CR - Overrides the newline
definition set when creating a new Regex, setting the '\r' character as line terminator.
- NEWLINE_LF - Overrides the newline
definition set when creating a new Regex, setting the '\n' character as line terminator.
- NEWLINE_CRLF - Overrides the
newline definition set when creating a new Regex, setting the '\r\n' characters sequence as
line terminator.
- NEWLINE_ANY - Overrides the
newline definition set when creating a new Regex, any Unicode newline sequence is
recognised as a newline.
- NEWLINE_ANYCRLF - Overrides
the newline definition set when creating a new Regex; any '\r', '\n', or '\r\n' character
sequence is recognized as a newline.
- BSR_ANYCRLF - Overrides the
newline definition for "\R" set when creating a new Regex; only '\r', '\n', or '\r\n'
character sequences are recognized as a newline by "\R".
- BSR_ANY - Overrides the newline
definition for "\R" set when creating a new Regex; any Unicode newline character or
character sequence are recognized as a newline by "\R".
- PARTIAL_SOFT - An alias for
PARTIAL.
- PARTIAL_HARD - Turns on the
partial matching feature.
- NOTEMPTY_ATSTART - Like
NOTEMPTY, but only applied to the start of the matched string.