The MongoDB\BSON\Regex class MongoDB\BSON\Regex
&reftitle.intro; BSON type for a regular expression pattern and optional flags. This BSON type is mainly used when querying the database. Alternatively, the $regex query operator may be used.
&reftitle.classsynopsis; MongoDB\BSON\Regex final MongoDB\BSON\Regex MongoDB\BSON\RegexInterface MongoDB\BSON\Type Serializable JsonSerializable &Methods;
&reftitle.changelog; &Version; &Description; PECL mongodb 1.3.0 Implements MongoDB\BSON\RegexInterface. PECL mongodb 1.2.0 Implements Serializable and JsonSerializable.
&reference.mongodb.bson.entities.regex;