https://bugs.exim.org/show_bug.cgi?id=2520

--- Comment #2 from Kilian <[email protected]> ---
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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to