static RegexpQueryBuilder regexpQuery(String name, String regexp) {
    return new RegexpQueryBuilder(name, regexp);
  }
A Query that matches documents containing terms with a specified regular expression.

@param name   The name of the field
@param regexp The regular expression
criteria/elasticsearch/src/org/immutables/criteria/elasticsearch/QueryBuilders.java