[pcre-dev] [Bug 1303] Recursion and greedy matching

Startseite
Nachricht löschen
Autor: Philip Hazel
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 1303] Recursion and greedy matching
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #1 from Philip Hazel <ph10@???> 2012-10-05 17:04:06 ---
On Thu, 4 Oct 2012, Jille Timmermans wrote:

> When I make the recursive-backreference (?R) optional (with ?) it doesn't match
> the data to its full extent.
>
> I've tested this with pcretest 7.7 and PHP 5.4.7 (uses pcre 8.12).


I have just tested it with Perl 5.12.4 and 5.15.3 and in both cases the
same result as PCRE (latest code) is obtained. I have not yet had time
to work out why, but the compatibility with Perl suggests that it is a
"feature" rather than a bug. I'll try to dig deeper soon and post the
result.

Philip


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