System::Text::RegularExpressions::Regex::IsMatch metodu
İçindekiler
[
Saklamak
]Regex::IsMatch(const String&, int) method
Regex’i dizeye karşı eşleştirir.
bool System::Text::RegularExpressions::Regex::IsMatch(const String &input, int startat=0)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Hedef dize. |
| startat | int | Başlangıç indeksi. |
ReturnValue
Dize regex ile eşleşirse doğru, aksi takdirde yanlış.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::IsMatch(const String&, const String&, RegexOptions, TimeSpan, int) method
Dizenin desene uyup uymadığını kontrol eder.
static bool System::Text::RegularExpressions::Regex::IsMatch(const String &input, const String &pattern, RegexOptions options=RegexOptions::None, TimeSpan matchTimeout=InfiniteMatchTimeout, int startat=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. |
ReturnValue
Eşleşme bulunursa doğru, aksi takdirde yanlış.
Ayrıca Bakınız
- Class String
- Enum RegexOptions
- Class TimeSpan
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++