decodeRegularExpressionOptions

Decodes this value as the options of a regular expression.

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

Throws