Alex Shinn
Thu, 09 Feb 2012 15:12:02 -0800
Works fine for me on 4.7.0. It's slow though (24s), Peter's new match extraction code should improve this greatly. I hope to get that out soon.
-- Alex On Thu, Feb 9, 2012 at 9:54 PM, Jörg F. Wittenberger <joerg.wittenber...@softeyes.net> wrote: > I'm afraid I ran into a pathological case for irregex. > > For me this hangs in a tight loop: > > $ csi > > CHICKEN > (c)2008-2011 The Chicken Team > (c)2000-2007 Felix L. Winkelmann > Version 4.7.4 (custom) > linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] > compiled 2012-01-12 on ajax (Linux) > > #;1> (use irregex) ; loading /usr/lib/chicken/6/irregex.import.so ... ; > loading library irregex ... #;2> (define m (irregex > "https?://(?:([^:@]+)(?::([^@]+))@)?([^:/]+)(?::([^/]+))?/(.*)")) #;3> > (irregex-match m > "https://localhost:2143/Abb8999dd38524dcc113f977d378a9ee0?_v=a&sql=select+count%28*%29+--+r.s+as+s%2C+t.o+as+o%0D%0A++from+rdf_range+as+r%0D%0A++left+join+rdf_tc+as+tc+on+r.o+%3D+tc.o%0D%0A++left+join+literal+as+lsubc+on+lsubc.s+%3D+tc.p+and%0D%0A++++lsubc.v+%3D+%27http%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23subClassOf%27%0D%0A++join+rdfnode+as+t+on+r.s+%3D+t.s+and+%28r.o+%3D+t.o+or+tc.s+%3D+t.o%29") > > > /Jörg > > > > > _______________________________________________ > Chicken-hackers mailing list > Chicken-hackers@nongnu.org > https://lists.nongnu.org/mailman/listinfo/chicken-hackers _______________________________________________ Chicken-hackers mailing list Chicken-hackers@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-hackers