RegexMatching¶
Namespace: ThinkGeo.Core
This enumeration defines the matching criteria for regular expression matching.
public enum RegexMatching
Inheritance Object → ValueType → Enum → RegexMatching
Implements IComparable, IFormattable, IConvertible
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.
Fields¶
Name | Value | Description |
---|---|---|
MatchFirstOnly | 0 | Only part of the string must match the regular expression. |
MatchAll | 1 | The entire string must match the regular expression. |