System::Text::RegularExpressions::Regex::Matches yöntemi
İçindekiler
[
Saklamak
]Regex::Matches(const String&, int) method
Verilen dizede regex’in tüm eşleşmelerini tekrar tekrar eşleştirerek alır.
MatchCollectionPtr System::Text::RegularExpressions::Regex::Matches(const String &input, int startat=0)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| startat | int | Eşleştirmenin başlayacağı indeks. |
ReturnValue
Bulunan tüm eşleşmelerin koleksiyonu.
Ayrıca Bakınız
- 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
Dize ve desen arasındaki tüm eşleşmeleri alır.
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 | 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
Tekrar tekrar eşleştirerek bulunan tüm eşleşmeler.
Ayrıca Bakınız
- Typedef MatchCollectionPtr
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++