Cake\ElasticSearch\FilterBuilder::regexp PHP Method

regexp() public method

### Example: {{{ $builder->regexp('name.first', 'ma.*'); }}}
See also: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-filter.html
public regexp ( string $field, string $regexp, array $options = [] ) : Elastica\Filter\Regexp
$field string The field to filter by.
$regexp string The regular expression.
$options array Regultar expression flags or options.
return Elastica\Filter\Regexp
    public function regexp($field, $regexp, array $options = [])
    {
        return new Filter\Regexp($field, $regexp, $options);
    }