Class MatcherExtensions
Inheritance
MatcherExtensions
Namespace:Microsoft.DocAsCode.MarkdownLite.Matchers
Assembly:Microsoft.DocAsCode.MarkdownLite.dll
Syntax
public static class MatcherExtensions
Methods
CompareLength(Matcher, LengthComparison, String)
Declaration
public static Matcher CompareLength(this Matcher matcher, LengthComparison comparsion, string groupName)
Parameters
Returns
Match(Matcher, String, Int32)
Declaration
public static MatchResult Match(this Matcher matcher, string text, int startIndex = 0)
Parameters
Returns
Maybe(Matcher)
Declaration
public static Matcher Maybe(this Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns
Repeat(Matcher, Int32, Int32)
Declaration
public static Matcher Repeat(this Matcher matcher, int minOccur, int maxOccur)
Parameters
Returns
RepeatAtLeast(Matcher, Int32)
Declaration
public static Matcher RepeatAtLeast(this Matcher matcher, int minOccur)
Parameters
Returns
ToGroup(Matcher, String)
Declaration
public static Matcher ToGroup(this Matcher matcher, string groupName)
Parameters
Returns
ToNegativeTest(Matcher)
Declaration
public static Matcher ToNegativeTest(this Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns
ToReverseNegativeTest(Matcher)
Declaration
public static Matcher ToReverseNegativeTest(this Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns
ToReverseTest(Matcher)
Declaration
public static Matcher ToReverseTest(this Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns
ToTest(Matcher)
Declaration
public static Matcher ToTest(this Matcher matcher)
Parameters
Type |
Name |
Description |
Matcher |
matcher |
|
Returns