[pcre-dev] [Bug 2520] Error in pcre2_substitute with PCRE2_…

Αρχική Σελίδα
Delete this message
Συντάκτης: admin
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 2520] Error in pcre2_substitute with PCRE2_SUBSTITUTE_MATCHED
https://bugs.exim.org/show_bug.cgi?id=2520

--- Comment #2 from Kilian <kkilger@???> ---
Alternatively it would be also possible to provide an additional function

pcre2_match_data_clone( ... )

where the user can clone the match data before the replacement to ensure that
he can call the substitution without destroying his/her match data.

Even better would be to clone the match data internally if
PCRE2_SUBSTITUTE_MATCHED and PCRE2_SUBSITUTE_GLOBAL are set at the same time.

--
You are receiving this mail because:
You are on the CC list for the bug.