[pcre-dev] [Bug 1472] Regexp "(|ab)" not handled in accordan…

Pàgina inicial
Delete this message
Autor: Zoltan Herczeg
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 1472] Regexp "(|ab)" not handled in accordance with documentation
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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

Zoltan Herczeg <hzmester@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hzmester@???





--- Comment #1 from Zoltan Herczeg <hzmester@???> 2014-04-29 07:57:05 ---
Hi,

yes, |ab matches to an empty string. In pcretest:

PCRE version 8.36-RC1 2014-04-21

re> /|ab/
data> ab

0:

It is likely that pcregrep uses PCRE_NOTEMPTY flag for searching patterns.
Let's wait for Philip comment on this.


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