Sorry, you are right I need regular exrepssion's lessons ... Of course it doesn't work ... Thank's for giving me this [windows] tools, I realized my syntaxe was wrong! I should not use \d !!!
But my question still unanswered, because event if the Frank's solution must work, if the product hasn't a category it should no longer do, doesn't it ? PS: Sorry for my bad english !! __________________________________________ Benjamin Grandfond - www.benjamingrandfond.fr [email protected] Le 12 mai 09 à 20:09, David Ashwood a écrit : > > A handy tool to play with & test regular expressions is > http://www.ultrapico.com/Expresso.htm > Not as good as regExBuddy but free. > > -----Original Message----- > From: [email protected] [mailto:[email protected] > ] > On Behalf Of BenjaM1 > Sent: 12 May 2009 17:48 > To: symfony developers > Subject: [symfony-devs] Routing requirement multiple instance of a > parameter > > > Hy everybody, > > I need some help for routing problem. > > I want to write a route as > http://my.website.com/en/racket/junior/competition/myracket.html > so the url must looks like > > url: /:sf_culture/:class:/category_slug/:category_slug2/:product_slug > > but I can't anticipate the number of category that I can have for my > racket, so i rewrite the url like that > url: /:sf_culture/:class:/category_slug/:product_slug > ... > requirement: > category_slug: \d* > > But it seems that it doesn't work. How can I do that ? > > Thank you. > > PS: I apologize if this question has already been asked and answered, > I haven't really time to search farther > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en -~----------~----~----~----~------~----~------~--~---
