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">&lt;<a href="mailto:lists@ruby-forum.com">lists@ruby-forum.com</a>&gt;</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>
&gt; Also, while we&#39;re filling your head with ideas during vacation, I must<br>
&gt; say<br>
&gt; that just the other day I really wanted location captures! &nbsp;I ended up<br>
&gt; finding another way to do what I wanted cleanly, but I can see myself<br>
&gt; [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>
 &nbsp; &nbsp;location ~ ^/([a-z]+)/([0-9]+)/?$ {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;# do stuff with $1 $2<br>
 &nbsp; &nbsp;}<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>