[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Update irregex to 0.9.0
From: |
Sven Hartrumpf |
Subject: |
Re: [Chicken-hackers] [PATCH] Update irregex to 0.9.0 |
Date: |
Thu, 20 Sep 2012 14:32:47 +0200 (CEST) |
Hi.
Peter wrote:
>> I decided to go ahead
>> and update our core irregex to the latest version. The attached patches
>> (all 4 of them) synchronizes us with upstream 0.9.0 irregex. This gives
>> some performance improvements for submatches.
And some severe bugs?
> csi
CHICKEN
(c)2008-2012 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.8.1 (rev 8d409f9)
linux-unix-gnu-x86-64 [ 64bit manyargs dload ]
compiled 2012-09-20 on (Linux)
#;1> (use irregex)
; loading /usr/local/chicken-master-64/lib/chicken/6/irregex.import.so ...
; loading library irregex ...
#;2> (irregex-match-substring (irregex-search "<h2>(.*)</h2>" "<h2>Bug</h2>") 1)
"Bug" <--- OK
#;3> (irregex-match-substring (irregex-search "<h2>(.*)</h2>" "<h2>Bug</h2><")
1)
"Bug</h2><" <--- not OK
The latter was correct before, for example in:
Version 4.7.5 (rev a86ed01)
linux-unix-gnu-x86 [ manyargs dload ]
compiled 2012-09-15 on (Linux)
Ciao
Sven