MongoDB\BSON\Regex::serialize Serialize a Regex &reftitle.description; final public stringMongoDB\BSON\Regex::serialize &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the serialized representation of the MongoDB\BSON\Regex. &reftitle.errors; &mongodb.throws.argumentparsing; &reftitle.seealso; MongoDB\BSON\Regex::unserialize serialize Serializing Objects