[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] irregex - a pathological case
From: |
Jörg F . Wittenberger |
Subject: |
[Chicken-hackers] irregex - a pathological case |
Date: |
09 Feb 2012 13:54:02 +0100 |
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?://(?:([^:@]+)(?::(address@hidden))@)?([^:/]+)(?::([^/]+))?/(.*)")) #;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] irregex - a pathological case,
Jörg F . Wittenberger <=