Are these rules ok?

Merlin merlin at mahalo.com
Wed Jan 7 02:40:34 MSK 2009


Yes, this is exactly the feature I was thinking of, and, indeed, there would
be quite a lot of uses for it!

On Tue, Jan 6, 2009 at 6:03 AM, Igor Clark <lists at ruby-forum.com> wrote:

> Merlin wrote:
>
> > Also, while we're filling your head with ideas during vacation, I must
> > say
> > that just the other day I really wanted location captures!  I ended up
> > finding another way to do what I wanted cleanly, but I can see myself
> > [ab]using such a feature for all kinds of things in the future...
>
> If by location captures you mean e.g.:
>
>    location ~ ^/([a-z]+)/([0-9]+)/?$ {
>        # do stuff with $1 $2
>    }
>
> then I second it - that would be a hugely useful feature.
>
> Thanks,
> Igor Clark
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090106/d45bae9c/attachment.html>


More information about the nginx mailing list