Matches()
Contents
[
Hide
]Regex::Matches(const String&, int) method
Gets all matches of regex in given string by matching repeatedly.
MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, int startat=0)
Arguments
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
startat | int | Index to start matching at. |
Return Value
Collection of all matches found.
Regex::Matches(const String&, const String&, RegexOptions, TimeSpan, int, int) method
Gets all matches between string and pattern.
static MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout, int startat=0, int length=0)
Arguments
Parameter | Type | Description |
---|---|---|
input | const String& | Input string. |
pattern | const String& | Regexp pattern. |
options | RegexOptions | Matching options. |
matchTimeout | TimeSpan | Timeout. |
startat | int | Match beginning position. |
length | int | Number of characters to look through (0 diables limit). |
Return Value
All matches found by matching repeatedly.
See Also
- Enum RegexOptions
- Typedef MatchCollectionPtr
- Class String
- Class Regex
- Class TimeSpan
- Namespace System::Text::RegularExpressions
- Library Aspose.Slides