[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Regexp egg compilation error
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] Regexp egg compilation error |
Date: |
Tue, 13 Mar 2012 07:51:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
Hi Arthur,
On Tue, 13 Mar 2012 00:54:53 -0300 Arthur Maciel <address@hidden> wrote:
> Well, now it I get another question: does awful egg accepts irregex syntax
> instead of regex egg one? The documentation still suggests the use of regex
> egg.
Both regex and irregex should work. Here's an example:
(use awful irregex)
(define-page (irregex '(seq "/foo/" (+ numeric)))
(lambda (path)
path))
http://<server>:<port>/foo/4 displays `/foo/4'
http://<server>:<port>/foo/bar produces a 404 error
Thanks for pointing that omission in the documentation. I'm gonna fix
that.
Best wishes.
Mario
--
http://parenteses.org/mario