add support for regex match query