added the option to specify a regex in the query string