You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only difference between them is inside the second regex. If we try to open a URL that matches the first route, we'll see that this route can't be found. If we look into $route.routes in the console, we'll see something like:
Let's try to configure two routes:
{regex(^\w+$):foo}/{regex(^\d+$):bar}{regex(^\w+$):foo}/{regex(^[a-z]+$):bar}The only difference between them is inside the second regex. If we try to open a URL that matches the first route, we'll see that this route can't be found. If we look into
$route.routesin the console, we'll see something like:Only one entry instead of two.