Get the parameter values from a path string and test the path against a testPath.
path
testPath
Actual path to test.
Route pattern to match against.
Whether to require an exact match.
Params object when matched, otherwise false.
Get the parameter values from a path string and test the
pathagainst atestPath.