decodeRegularExpressionPattern

Decodes this value as the pattern of a regular expression.

A BSON regular expression is composed of a pattern and options. To decode the options, see decodeRegularExpressionOptions.

Throws