Hi Arthur,

On Tue, 13 Mar 2012 00:54:53 -0300 Arthur Maciel <[email protected]> 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

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to