I'd like to define a route as characters and numbers only.
I mean something like this:
/section-this-is-the-title-123.htm
How would I do this? I know I can define a '.*' requirement, but if I
do that, it will be incompatible with some other route beginning with
"section-".
So, how? I tried almost everyting related to ranges, but it doesn't
work:
requirements: { slugZona: '(0-9a-z)*' }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---