Match a string by sinatra/express style named-params, or regexes, and get something back.