Path to Regexp converts paths to regexps