System::Text::RegularExpressions::Regex::Matches method
inhoud
[
verbergen
]Regex::Matches(const String&, int) method
Haalt alle matches van regex op in een gegeven string door herhaaldelijk te matchen.
MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, int startat=0)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| startat | int | Index om te beginnen met vergelijken. |
ReturnValue
Collectie van alle gevonden overeenkomsten.
Zie ook
- Typedef MatchCollectionPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Matches(const String&, const String&, RegexOptions, TimeSpan, int, int) method
Haalt alle matches tussen string en patroon op.
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)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Invoertekenreeks. |
| patroon | const String& | Regexp-patroon. |
| opties | RegexOptions | Opties voor vergelijken. |
| matchTimeout | TimeSpan | Time-out. |
| startat | int | Match beginnende positie. |
| lengte | int | Aantal tekens om door te zoeken (0 schakelt limiet uit). |
ReturnValue
Alle gevonden overeenkomsten door herhaaldelijk te vergelijken.
Zie ook
- Typedef MatchCollectionPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++