add support for regex routing