Enum RegexMatching
This enumeration defines the matching criteria for regular expression matching.
public enum RegexMatching
Fields
MatchAll = 1
The entire string must match the regular expression.
MatchFirstOnly = 0
Only part of the string must match the regular expression.
Remarks
This is used to determine how much of a string needs to match a regular expression in order to declare it a match for that expression. Sometimes, you only need one part of the string to match in order for the expression to be considered a match; other times you may want the entire string to match.