프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$flags | string | ||
$regex | string |
메소드 | 설명 | |
---|---|---|
__construct ( string | MongoDB\BSON\Regex $regex ) | Creates a new regular expression. | |
__toString ( ) : string | Returns a string representation of this regular expression. | |
toBSONType ( ) : MongoDB\BSON\Regex | Converts this MongoRegex to the new BSON Regex type |
public __construct ( string | MongoDB\BSON\Regex $regex ) | ||
$regex | string | MongoDB\BSON\Regex | Regular expression string of the form /expr/flags |
public __toString ( ) : string | ||
리턴 | string | This regular expression in the form "/expr/flags". |
public toBSONType ( ) : MongoDB\BSON\Regex | ||
리턴 | MongoDB\BSON\Regex |