BsonRegularExpression

Companion helper for a BsonRegularExpression

class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(value: Regex): BsonRegularExpression

Creates a new BsonRegularExpression

Creates a new BsonRegularExpression

Value parameters:
value

the Regex.

Returns:

the BsonRegularExpression

def apply(value: String): BsonRegularExpression

Creates a new BsonRegularExpression

Creates a new BsonRegularExpression

Value parameters:
value

the Regex string.

Returns:

the BsonRegularExpression

def apply(value: String, options: String): BsonRegularExpression

Creates a new BsonRegularExpression

Creates a new BsonRegularExpression

Value parameters:
options

the regex options tring

value

the Regex string.

Returns:

the BsonRegularExpression