On Tue, Jun 14, 2005 at 09:12:52AM +0200, felix winkelmann wrote: > Oh boy. Do you have PCRE or libc regex? Or are you using pregexp?
I'm not sure. I think it's using libc regex, since ldd doesn't show any extra libraries (apart from libm) on chicken, libchicken etc. On closer look, the regex "^([\\-A-Za-z0-9]+):[ ]*([^ ].*)$" is obviously invalid. The dash after the backslashes is illegal. To quote the manpage: ``It is illegal for two ranges to share an endpoint, e.g. `a-c-e'.'' If you want to include the - sign itself, it should be put first or last: ``To include a literal `-', make it the first or last character, or the second endpoint of a range.'' I'm not sure what you want to do with the backslashes. Is it supposed to include a literal backslash, or are you trying to escape the dash? HTH, Peter -- http://www.student.kun.nl/peter.bex -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpyPf8WfuH7K.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
