code: public static Query regex(String field, Pattern regex) {
          return new Query().regex(field, regex);
      }
docs: The given field matches the regular expression
  
  @param field The field to comare
  @param regex The regular expression to match with
  @return the query