In this video, we create a numeric path variable with a regular expressions.
\d+ means to match any non-empty sequence of numbers.
We then create a new handler for URLs which do not match that pattern, in an attempt to display an informative message in these circumstances. But it seems that {notanid}/hello is ambiguous, while {notanid}/* is not. Bot appear to be ambiguous to me but they must trigger different paths in the handler matching code.
By the way, {notanid}/* also uses the Ant-style path pattern '/*' which is not a regexp.
Url to demo project: https://github.com/xavierdpt/springbo...