Added support for wildcard/subrouter when using regexp pattern