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

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to