[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Spiffy crashes occasionally
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] Spiffy crashes occasionally |
Date: |
Tue, 14 Jun 2005 09:42:17 +0200 |
User-agent: |
Mutt/1.4.2.1i |
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
pgprKoEC5KFWF.pgp
Description: PGP signature
- Re: [Chicken-users] Spiffy crashes occasionally, (continued)
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/09
- Re: [Chicken-users] Spiffy crashes occasionally, Peter Bex, 2005/06/12
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/13
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/13
- Re: [Chicken-users] Spiffy crashes occasionally, Peter Bex, 2005/06/13
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/13
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/14
- Re: [Chicken-users] Spiffy crashes occasionally, Peter Bex, 2005/06/14
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/14
- Re: [Chicken-users] Spiffy crashes occasionally,
Peter Bex <=
- Re: [Chicken-users] Spiffy crashes occasionally, felix winkelmann, 2005/06/14