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

トップ ページ
このメッセージを削除
著者: Pascal MALAISE
日付:  
To: pcre-dev
題目: [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