https://bugs.exim.org/show_bug.cgi?id=2323
--- Comment #1 from Philip Hazel <ph10@???> ---
I see your point. How about a new option for pcre2_match() called perhaps
PCRE2_COPY_MATCHED_SUBJECT which has the following effect: if a match is
successful, a copy of the subject is made using the memory management that was
used to set up the match data block. This is then the subject that is
remembered in that block. It is automatically freed when the match data block
is freed.
Coding that is a relatively small job, I think. If you agree that this will
solve your issue, I'll put it on my list and get it done in the next month or
so, with luck. (At present I am busy implementing script runs.)
--
You are receiving this mail because:
You are on the CC list for the bug.