The MongoDB\BSON\Regex classMongoDB\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\RegexfinalMongoDB\BSON\RegexMongoDB\BSON\RegexInterfaceMongoDB\BSON\TypeSerializableJsonSerializable&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;