Added path to regular expression method.

- Route match now uses regular expressions