Actually create an url-pattern object.
Emulate wildcards when matching RegEx patterns.
Update tests.