[Dancer-users] request for feature

sawyer x xsawyerx at gmail.com
Tue Jan 18 11:40:59 CET 2011


On Tue, Jan 18, 2011 at 12:38 PM, Alexis Sukrieh <sukria at sukria.net> wrote:

> Le 18/01/2011 07:53, sawyer x a écrit :
>
>  Sukria, can you verify whether Sinatra are using regex for routes or
>> just have a tricky regex to handle route compilation and optional
>> parameters?
>>
>
> According to the source, Sinatra does the same as we do: building a regexp
> for every single route:
>
> https://github.com/sinatra/sinatra/blob/master/lib/sinatra/base.rb#L1051
>
> But at first glance I don't see where they handle that conditional token...
>

Line 1081?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110118/ac02767a/attachment-0001.htm>


More information about the Dancer-users mailing list