This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
chrisiek
I want to proccess two parameters, only the first or only the second or none of them.
So in my page I have
url = "/account/:reset?|^[0-9]{0,10}$/:code?|^[a-z]{0,10}$"
but for the third link I get error.
http://octobercms.dev/account/ ; ok reset=false, code=false
http://octobercms.dev/account/5566/ ; ok reset=5566
http://octobercms.dev/account/ok/ ; page not found
What's wrong with my code?
1-1 of 1