On Thursday, July 5, 2012 at 11:12:50 AM UTC-4, Tom wrote: > > > In my router I am trying to match a uid contained in my url like this: > > /post/:uid > > What Gabriel Vieira is trying to say is that a route with a colon is a "standard placeholder" that matches all but "." and "/". But a route with a "#" is a relaxed placeholder and matches anything but "/" and then there is a route with a "*" wildcard placeholders that matches anything to end of URL.
See: http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Relaxed-placeholders <http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Relaxed-placeholders> Example get '/add/:id/#param1/*param_rest' -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
