Class BSONRegExp

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

    Returns BSONRegExp

Properties

options: string
pattern: string

Accessors

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

Methods

  • Prints a human-readable string of BSON value information If invoked manually without node.js.inspect function, this will default to a modified JSON.stringify

    Parameters

    • Optional depth: number
    • Optional options: unknown
    • Optional inspect: InspectFn

    Returns string

  • Parameters

    • Optional options: string

    Returns string

Generated using TypeDoc