chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] (regexp) can not compile regular expression


From: Toby Butzon
Subject: [Chicken-users] (regexp) can not compile regular expression
Date: Sat, 9 Dec 2006 23:17:20 -0500

Hi,

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?

--
Toby Butzon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]