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
-~----------~----~----~----~------~----~------~--~---

Reply via email to