System::Text::RegularExpressions::Regex::Matches metodu
İç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)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| startat | int | Eşleştirmeye başlanacak 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.Font for C++
Regex::Matches(const String&, const String&, RegexOptions, TimeSpan, int, int) method
Dize ile 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)
| 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
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.Font for C++