A class representation of the BSON RegExp type.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • pattern: string

      The regular expression pattern to match

    • Optional options: string

      The regular expression options

      Optional

    Returns BSONRegExp

Properties

options: string
pattern: string

Accessors

  • get _bsontype(): "BSONRegExp"
  • Returns "BSONRegExp"

Methods

  • Returns string

  • Parameters

    • Optional options: string
      Optional

    Returns string

Generated using TypeDoc