added simple typing to UrlMatch Contructor search params
added anonymous type registration for search param regex
added pattern checking before decoding types in the exec()