Class Poco::MongoDB::RegularExpression
Author: Applied Informatics Software Engineering GmbH and Contributors

# Poco::MongoDB

# class RegularExpression

Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/RegularExpression.h

## Description

Represents a regular expression in BSON format

## Member Summary

Member Functions: createRE, getOptions, getPattern, setOptions, setPattern

## Types

### Ptr

typedef SharedPtr < RegularExpression > Ptr;

## Constructors

### RegularExpression

RegularExpression();

Constructor

### RegularExpression

RegularExpression(
const std::string & pattern,
const std::string & options
);

Constructor

## Destructor

### ~RegularExpression

virtual ~RegularExpression();

Destructor

## Member Functions

### createRE

SharedPtr < Poco::RegularExpression > createRE() const;

Tries to create a Poco::RegularExpression

### getOptions

std::string getOptions() const;

Returns the options

### getPattern

std::string getPattern() const;

Returns the pattern

### setOptions

void setOptions(
const std::string & options
);

Sets the options

### setPattern

void setPattern(
const std::string & pattern
);

Sets the pattern