src/League/Monga/Query/Where.php
public function whereRegex($field, $value)
    {
        if (! $value instanceof MongoRegex) {
            $value = new MongoRegex($value);
        }

        return $this->formatWhere('$and', $field, $value);
    }
public function whereRegex($field, $value)
    {
        if (! $value instanceof MongoRegex) {
            $value = new MongoRegex($value);
        }

        return $this->formatWhere('$and', $field, $value);
    }
public function whereRegex ( $ field , $ value ) { if ( ! $ value instanceof MongoRegex ) { $ value = new MongoRegex ( $ value ) ; } return $ this -> formatWhere ( '$and' , $ field , $ value ) ; }
Appends an and-where-regex statement

@param string $field field name
@param mixed  $value filter value

@return object $this
Appends an and - where - regex statement