Ok, I know that regex support has been removed, but I've run into a situation
where I kind of needed it.  The basic idea was that I wanted to match only
strings that conformed to a very rigid format.  So, taking from the tutorial, if
I did only
router.attach("/users/{user}", account);

and somebody tried to do "/users/blah/orders", I want it to not match anything.
 As it stands right now, it would match and call 'account' with 'blah' as the
user.  I used to be able to do this by doing 
router.attach("/users/{user}$", account);
but that's removed now.  So how can I go about regaining this functionality?

-Alex

Reply via email to