System::Text::RegularExpressions::Regex::Replace method
Regex::Replace(const String&, const char_t *) method
Dizedeki regex’in tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const char_t *replacement)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm regex eşleşmeleri yerine koyma dizesiyle değiştirilmiş giriş dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page 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)
| Parameter | Type | 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ş giriş dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page 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)
| Parameter | Type | 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ş giriş dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page 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)
| Parameter | Type | 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ştirmenin başlayacağı giriş dizesindeki dizin. |
ReturnValue
Tüm eşleşmeler değiştirilmiş giriş dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Replace(const String&, const String&) method
Dizedeki regex’in tüm eşleşmelerini yerine koyma dizesiyle değiştirir.
String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &replacement)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| yerine koyma | const String& | Yerine koyma dizesi. |
ReturnValue
Tüm regex eşleşmeleri yerine koyma dizesiyle değiştirilmiş giriş dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page 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.Page 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.Page for C++
Regex::Replace(const String&, const char_t *, const char_t *) method
Dizedeki regex’in 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)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const char_t * | Regex deseni. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm regex eşleşmeleri yerine koyma dizesiyle değiştirilmiş giriş dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Replace(const String&, const String&, const char_t *) method
Dizedeki regex’in 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)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| yerine koyma | const char_t * | Yerine koyma dizesi. |
ReturnValue
Tüm regex eşleşmeleri yerine koyma dizesiyle değiştirilmiş giriş dizesi.
Ayrıca Bakınız
- Class String
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Replace(const String&, const String&, const MatchEvaluator&) method
Düzenli ifade eşleşmelerini değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const MatchEvaluator &evaluator)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex deseni. |
| değerlendirici | const MatchEvaluator& | Her eşleşme için değiştirme 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.Page for C++
Regex::Replace(const String&, const String&, const MatchEvaluator&, RegexOptions) method
Dizedeki tüm eşleşmeleri temsilci tarafından oluşturulan yerine koyma dizeleriyle değiştirir (statik işlev).
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const MatchEvaluator &evaluator, RegexOptions options)
| Parameter | Type | 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ş giriş dizeleri.
Ayrıca Bakınız
- Class String
- Typedef MatchEvaluator
- Enum RegexOptions
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++
Regex::Replace(const String&, const String&, const String&) method
Düzenli ifade eşleşmelerini değiştirir.
static String System::Text::RegularExpressions::Regex::Replace(const String &input, const String &pattern, const String &replacement)
| Parameter | Type | Açıklama |
|---|---|---|
| girdi | const String& | Girdi dizesi. |
| pattern | const String& | Regex 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.Page for C++
Regex::Replace(const String&, const String&, const String&, RegexOptions) method
Dizedeki regex’in 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)
| Parameter | Type | 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 regex eşleşmeleri yerine koyma dizesiyle değiştirilmiş giriş dizesi.
Ayrıca Bakınız
- Class String
- Enum RegexOptions
- Class Regex
- Namespace System::Text::RegularExpressions
- Library Aspose.Page for C++