(mongodb >=1.2.0)
MongoDB\BSON\Regex::serialize — Serialize a Regex
�˺���û�в�����
Returns the serialized representation of the MongoDB\BSON\Regex.