[pcre-dev] [Bug 1619] zero-width negative lookahead with cap…

Página superior
Eliminar este mensaje
Autor: Philip Hazel
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 1619] zero-width negative lookahead with capture not working
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #1 from Philip Hazel <ph10@???> 2015-04-23 17:04:23 ---
It is documented that PCRE2 never captures within negative assertions. When I
last checked, Perl was inconsistent on this. However, I now see that Perl does
match your example. I will check it further and if necessary make a change to
PCRE2. The documentation is in the pcre2compat page; I have made a note to make
it clearer in other places as well.


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