Yes, this is exactly the feature I was thinking of, and, indeed, there would be quite a lot of uses for it!<br><br><div class="gmail_quote">On Tue, Jan 6, 2009 at 6:03 AM, Igor Clark <span dir="ltr"><<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Merlin wrote:<br>
<br>
> Also, while we're filling your head with ideas during vacation, I must<br>
> say<br>
> that just the other day I really wanted location captures! I ended up<br>
> finding another way to do what I wanted cleanly, but I can see myself<br>
> [ab]using such a feature for all kinds of things in the future...<br>
<br>
</div>If by location captures you mean e.g.:<br>
<br>
location ~ ^/([a-z]+)/([0-9]+)/?$ {<br>
# do stuff with $1 $2<br>
}<br>
<br>
then I second it - that would be a hugely useful feature.<br>
<br>
Thanks,<br>
<div><div></div><div class="Wj3C7c">Igor Clark<br>
<br>
--<br>
Posted via <a href="http://www.ruby-forum.com/" target="_blank">http://www.ruby-forum.com/</a>.<br>
<br>
</div></div></blockquote></div><br>