public MongoRegex::__construct    ( string $regex   )

MongoRegex::__constructCreates a new regular expression

regex

Regular expression string of the form /expr/flags.