[pcre-dev] [Bug 781] pcreposix regexec shall set PCRE_NOTEMP…

Page principale
Supprimer ce message
Auteur: Pascal MALAISE
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 781] pcreposix regexec shall set PCRE_NOTEMPTY
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=781




--- Comment #3 from Pascal MALAISE <malaise@???> 2008-11-02 07:23:54 ---
Ok I understand this argument.
The goal for me is not to have PCRE posix 100% compatible with POSIX REs, but I
am migrating an application from POSIX to PCRE (because PCRE supports UTF-8)
and PCRE posix definitely helps because of its quite similar interface.

What about my proposal of an extra option of PCRE posix: REG_NOTEMPTY (0x0100)?
The patch would become:
if (REG_NOTEMPTY) options |= PCRE_NOTEMPTY;


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email