BsonRegularExpression

fun BsonRegularExpression(pattern: String)

Construct a new instance without any options

Parameters

pattern

the regular expression pattern


fun BsonRegularExpression(pattern: String, options: String)

constructs a new instance with the given pattern and options

Parameters

options

the regular expression options