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

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [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.