Containing Type: Pattern
Assembly: Pihrtsoft.Text.RegularExpressions.Linq.dll
Method | Summary |
---|---|
EnumerateCaptures(String) | Searches the specified input string and returns an enumerable collection of captures. |
EnumerateCaptures(String, Int32) | Searches the specified input string and returns an enumerable collection of captures from groups that have a specified number. |
EnumerateCaptures(String, Int32, RegexOptions) | Searches the specified input string and returns an enumerable collection of captures from groups that have a specified number, using the specified matching options. |
EnumerateCaptures(String, RegexOptions) | Searches the specified input string and returns an enumerable collection of captures, using the specified matching options. |
EnumerateCaptures(String, String) | Searches the specified input string and returns an enumerable collection of captures from groups that have a specified name. |
EnumerateCaptures(String, String, RegexOptions) | Searches the specified input string and returns an enumerable collection of captures from groups that have a specified name, using the specified matching options. |
Searches the specified input string and returns an enumerable collection of captures.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input)
input String
The string to search for a match.
input is null
.
Searches the specified input string and returns an enumerable collection of captures from groups that have a specified number.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input, int groupNumber)
input String
The string to search for a match.
groupNumber Int32
A valid number of the group.
input is null
.
Searches the specified input string and returns an enumerable collection of captures from groups that have a specified number, using the specified matching options.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input, int groupNumber, System.Text.RegularExpressions.RegexOptions options)
input String
The string to search for a match.
groupNumber Int32
A valid number of the group.
options RegexOptions
A bitwise combination of the enumeration values that specify options for matching.
input is null
.
Searches the specified input string and returns an enumerable collection of captures, using the specified matching options.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input, System.Text.RegularExpressions.RegexOptions options)
input String
The string to search for a match.
options RegexOptions
A bitwise combination of the enumeration values that specify options for matching.
input is null
.
Searches the specified input string and returns an enumerable collection of captures from groups that have a specified name.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input, string groupName)
input String
The string to search for a match.
groupName String
A name of the group.
input or groupName is null
.
Searches the specified input string and returns an enumerable collection of captures from groups that have a specified name, using the specified matching options.
public System.Collections.Generic.IEnumerable<System.Text.RegularExpressions.Capture> EnumerateCaptures(string input, string groupName, System.Text.RegularExpressions.RegexOptions options)
input String
The string to search for a match.
groupName String
A name of the group.
options RegexOptions
A bitwise combination of the enumeration values that specify options for matching.
input or groupName is null
.