System::Text::RegularExpressions::Regex::Match method
İçindekiler
[
Saklamak
]Regex::Match(const String&) method
Regex’i dizeye karşı eşleştirir.
MatchPtr System::Text::RegularExpressions::Regex::Match(const String &input)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Hedef dize. |
ReturnValue
Match value containing match status and submatches.
Ayrıca Bakınız
- Typedef MatchPtr
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Match(const String&, int, int) method
Regex’i dizeye karşı eşleştirir.
MatchPtr System::Text::RegularExpressions::Regex::Match(const String &input, int startat, int length=0)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Hedef dize. |
| startat | int | Başlangıç indeksi. |
| length | int | İncelenecek karakter sayısı (tam dizeyi incelemek için 0). |
ReturnValue
Match value containing match status and submatches.
Ayrıca Bakınız
- 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
Dizeyi ve deseni eşleştirir.
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 | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| seçenekler | RegexOptions | Eşleştirme seçenekleri. |
| matchTimeout | TimeSpan | Zaman aşımı. |
| startat | int | Match başlangıç konumu. |
| length | int | İncelenecek karakter sayısı (0 sınırlamayı devre dışı bırakır). |
ReturnValue
Bulunan ilk eşleşme.
Ayrıca Bakınız
- Typedef MatchPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++