proper temrination on regex matching for uri on add route.