method Bson.BSONRegExp.prototype.toExtendedJSONRe-exportimport { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.ts"; const { BSONRegExp } = Bson; toExtendedJSON(options?: EJSONOptions): BSONRegExpExtendedParametersoptionaloptions: EJSONOptionsReturnsBSONRegExpExtended