System::Text::RegularExpressions::Regex::Replace metodu
Regex::Replace(const String&, const char_t *) method
Regex’in dizedeki tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const char_t *replacement)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm düzenli ifade eşleşmeleri yerine koyma dizesiyle değiştirilmiş girdi dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const MatchEvaluator&) method
Dizedeki tüm eşleşmeleri temsilci tarafından oluşturulan yerine koyma dizeleriyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const MatchEvaluator &evaluator)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| değerlendirici | const MatchEvaluator& | Eşleşmelere dayalı yerine koyma dizeleri oluşturmak için temsilci. |
ReturnValue
Tüm eşleşmeler değiştirilmiş girdi dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const MatchEvaluator&, int) method
Dizedeki tüm eşleşmeleri temsilci tarafından oluşturulan yerine koyma dizeleriyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const MatchEvaluator &evaluator, int count)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| değerlendirici | const MatchEvaluator& | Eşleşmelere dayalı yerine koyma dizeleri oluşturmak için temsilci. |
| count | int | Değiştirme sayısı sınırı. |
ReturnValue
Tüm eşleşmeler değiştirilmiş girdi dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const MatchEvaluator&, int, int) method
Dizedeki tüm eşleşmeleri temsilci tarafından oluşturulan yerine koyma dizeleriyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const MatchEvaluator &evaluator, int count, int startat)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| değerlendirici | const MatchEvaluator& | Eşleşmelere dayalı yerine koyma dizeleri oluşturmak için temsilci. |
| count | int | Değiştirme sayısı sınırı. |
| startat | int | Değiştirmeye başlanacak girdi dizesindeki indeks. |
ReturnValue
Tüm eşleşmeler değiştirilmiş girdi dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&) method
Regex’in dizedeki tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &replacement)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| yerine koyma | const String& | Yerine koyma dizesi. |
ReturnValue
Tüm düzenli ifade eşleşmeleri yerine koyma dizesiyle değiştirilmiş girdi dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, int) method
Dizedeki alt dizeleri değiştirir. Henüz uygulanmadı.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &replacement, int count)
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, int, int) method
Dizedeki alt dizeleri değiştirir. Henüz uygulanmadı.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &replacement, int count, int startat)
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const char_t *, const char_t *) method
Regex’in dizedeki tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const char_t *pattern, const char_t *replacement)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const char_t * | Regex deseni. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm düzenli ifade eşleşmeleri yerine koyma dizesiyle değiştirilmiş girdi dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, const char_t *) method
Regex’in dizedeki tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const char_t *replacement)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm düzenli ifade eşleşmeleri yerine koyma dizesiyle değiştirilmiş girdi dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, const MatchEvaluator&) method
Regex eşleşmelerini değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const MatchEvaluator &evaluator)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| desen | const String& | Regexp deseni. |
| değerlendirici | const MatchEvaluator& | Her eşleşme için yerine koyma dizesi oluşturacak temsilci. |
ReturnValue
String with all matches replaced.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, const MatchEvaluator&, RegexOptions) method
Dizedeki tüm eşleşmeleri, temsilci tarafından oluşturulan değiştirme dizeleriyle (statik fonksiyon) değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const MatchEvaluator &evaluator, RegexOptions options)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| değerlendirici | const MatchEvaluator& | Eşleşmelere dayalı yerine koyma dizeleri oluşturmak için temsilci. |
| options | RegexOptions | Regex seçenekleri. |
ReturnValue
Tüm eşleşmeler değiştirilmiş girdi dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Enum RegexOptions
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, const String&) method
Regex eşleşmelerini değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const String &replacement)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| desen | const String& | Regexp deseni. |
| yerine koyma | const String& | Yerine koyma dizesi. |
ReturnValue
String with all matches replaced.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++
Regex::Replace(const String&, const String&, const String&, RegexOptions) method
Regex’in dizedeki tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const String &replacement, RegexOptions options)
| Parametre | Tür | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| yerine koyma | const String& | Yerine koyma dizesi. |
| options | RegexOptions | Regex seçenekleri. |
ReturnValue
Tüm düzenli ifade eşleşmeleri yerine koyma dizesiyle değiştirilmiş girdi dizesi.
Ayrıca Bakınız
- Class String
- Enum RegexOptions
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Font for C++