System::Text::RegularExpressions::Regex::Match method
inhoud
[
verbergen
]Regex::Match(const String&) method
Matcht regex met een string.
MatchPtr System::Text::RegularExpressions::Regex::Match(const String &input)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Doeltekenreeks. |
ReturnValue
Match value containing match status and submatches.
Zie ook
- Typedef MatchPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Match(const String&, int, int) method
Matcht regex met een string.
MatchPtr System::Text::RegularExpressions::Regex::Match(const String &input, int startat, int length=0)
| Parameter | Type | Beschrijving |
|---|---|---|
| invoer | const String& | Doeltekenreeks. |
| startat | int | Beginindex. |
| lengte | int | Aantal tekens om door te zoeken (0 om de hele tekenreeks te doorzoeken). |
ReturnValue
Match value containing match status and submatches.
Zie ook
- Typedef MatchPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Match(const String&, const String&, RegexOptions, TimeSpan, int, int) method
Matcht string en patroon.
static MatchPtr System::Text::RegularExpressions::Regex::Match(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
Eerste overeenkomst gevonden.
Zie ook
- Typedef MatchPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++