[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] (regexp) can not compile regular expression
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] (regexp) can not compile regular expression |
Date: |
10 Dec 2006 10:36:44 -0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hello Toby,
On Sat, 9 Dec 2006 23:17:20 -0500 "Toby Butzon" <address@hidden> wrote:
> I had stream-cgi working before (not exactly sure what changed, maybe
> a new chicken version?), but now just trying to (use) it does this:
>
> address@hidden:~ $ csi
>
> ___| | _) |
> | __ \ | __| | / _ \ __ \
> | | | | | ( < __/ | |
> \____|_| |_|_|\___|_|\_\\___|_| _|
>
> Version 2.5 - macosx-unix-gnu-x86 - [ dload ptables applyhook ]
> (c)2000-2006 Felix L. Winkelmann
> ; loading ./.csirc ...
> #;1> (use stream-cgi)
> ; loading /usr/local/lib/chicken/1/stream-cgi.so ...
> ; loading /usr/local/lib/chicken/1/srfi-40-base.so ...
> ; loading /usr/local/lib/chicken/1/stream-ext.so ...
> ; loading /usr/local/lib/chicken/1/format-modular.so ...
> ; loading /usr/local/lib/chicken/1/content-type.so ...
> Error: (regexp) can not compile regular expression:
> "\\s*([0-9A-Za-z-]+)\\s*/\\s*([0-9A-Za-z-]+)\\s*(|;\\s*.*)$"
>
> Call history:
>
> <eval> (##sys#require (quote stream-cgi)) <--
> #;1>
>
> Seems the problem is in the content-type egg, and it boils down to the
> tail end of the regexp:
>
> (|;\\s*.*)
>
> I figure there's probably a simple fix... anyone?
It works fine for me here. Does your Chicken have PCRE?
Try:
csi> (use utils)
csi> (memq 'pcre: (features))
Best wishes,
Mario