[pcre-dev] [Bug 2332] Different greed of subpattern and defi…

Kezdőlap
Üzenet törlése
Szerző: admin
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 2332] Different greed of subpattern and defined subrouting
https://bugs.exim.org/show_bug.cgi?id=2332

Philip Hazel <ph10@???> changed:

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


--- Comment #2 from Philip Hazel <ph10@???> ---
This turned out to be essentially an oversight in the code, with an easy fix.
Nothing to do with DEFINE; the problem occurred if a pattern's operative part
started with a subroutine call with a repeat whose minimum was zero. For
example: /(?&xxx)*ABC(?<xxx>XYZ)/. I have committed patches for both PCRE1 and
PCRE2 which fix the bug.

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