[pcre-dev] [Bug 1660] pcre_exec delivers wrong offsets

Page principale
Supprimer ce message
Auteur: admin
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1660] pcre_exec delivers wrong offsets
https://bugs.exim.org/show_bug.cgi?id=1660

Philip Hazel <ph10@???> changed:

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


--- Comment #1 from Philip Hazel <ph10@???> ---
This is not a bug. It is documented behaviour. If pcre_exec returns 1, it
indicates that just the first two offsets (the matched string) are set. There
are no captured substrings, and so any offsets that relate to them are not set.

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