matches

Checks if a URI matches a template

Return

true if the URI matches the template, false otherwise

Parameters

template

The URI template to match against

uri

The URI to check