[pcre-dev] [Bug 2323] Allow for new subject string to be ass…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2323] Allow for new subject string to be assigned to pcre2_match_data structure
https://bugs.exim.org/show_bug.cgi?id=2323

Philip Hazel <ph10@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED


--- Comment #3 from Philip Hazel <ph10@???> ---
I have just committed a patch that implements PCRE2_COPY_MATCHED_SUBJECT. This
works with pcre2_match(), including when JIT is used, and with
pcre2_dfa_match(), but is not supported for the JIT fast path
pcre2_jit_match(). The copy is automatically freed when the match data block is
freed, and also if the match data block is re-used for a subsequent match
attempt. If you can test this, it would be great.

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