Welcome Guest, Not a member yet? Register   Sign In
Problem with route and URI Language code
#3

[eluser]deck1[/eluser]
Thanks KeyStroke.

But i have some restrictions. I don't know the language code at this point (i will check later against DB), therefore i have to allow that pattern: "xx" or "xx-XX". And (and here comes the problem) both patterns are allowed, and both are optional.

If i try a single pattern, as yours, it works ok, but i have to allow both.


Messages In This Thread
Problem with route and URI Language code - by El Forum - 04-21-2008, 03:48 AM
Problem with route and URI Language code - by El Forum - 04-21-2008, 04:25 AM
Problem with route and URI Language code - by El Forum - 04-21-2008, 04:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB