MatchingRegexOptions Class
Runs MatchingRegexCode logic.
public class MatchingRegexOptions
- Inheritance:
- object object
Constructors
MatchingRegexOptions()
Initializes an instance of the class.
public MatchingRegexOptions()
Properties
CanLineFeedMatchAnyLineTerminator
Whether a line feed ('\n') character in regex patterns should match any line terminator, not just LF-only characters.
public bool CanLineFeedMatchAnyLineTerminator { get; set; }
Property Value
- bool:
The default value is
false, meaning apply no special handling to'\n'usage.
Remarks
This property simplifies regex patterns by replacing '\n' usage in two scenarios.
First, a in a character class will add all other line terminators characters to the character class.
Second, a \n outside of a character class will match any valid line terminator sequence.\n
CaseSensitivity
The case sensitivity of the matching regex pattern.
public CaseSensitivity CaseSensitivity { get; set; }
Property Value
- CaseSensitivity:
The default value is Sensitive.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()