Implemented a subset of RFC 6570 URI Template instead of arbitrary
regexes in route patterns.