System::Text::RegularExpressions::Regex::Match metodu
İçindekiler
[
Saklamak
]Regex::Match(const String&) method
Regex’i dizeye karşı eşleştirir.
MatchPtr System::Text::RegularExpressions::Regex::Match(const String &input)
| Parametre | Tür | 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.Font 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)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Hedef dize. |
| startat | int | Başlangıç indeksi. |
| uzunluk | 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.Font 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)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| desen | const String& | Regexp deseni. |
| seçenekler | RegexOptions | Eşleştirme seçenekleri. |
| matchTimeout | TimeSpan | Zaman aşımı. |
| startat | int | Match başlangıç konumu. |
| uzunluk | int | İncelenecek karakter sayısı (0 sınırsızdı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.Font for C++