Realm C++ SDK Version v2.2.0
Public Types | Public Member Functions | Friends | List of all members

realm::bsoncxx::regular_expression Struct Reference

#include <bson.hpp>

Public Types

enum class  option : uint8_t {
  none , ignore_case = 1 , multiline = 2 , dotall = 4 ,
  extended = 8
}
 

Public Member Functions

 regular_expression (const std::string &pattern, const std::string &options)
 
 regular_expression (const std::string &pattern, option options)
 
option get_options () const
 
std::string get_pattern () const
 
 operator realm::bson::RegularExpression () const
 

Friends

struct bsoncxx
 

Detailed Description

Provides regular expression capabilities for pattern matching strings in queries. MongoDB uses Perl compatible regular expressions (i.e. "PCRE") version 8.42 with UTF-8 support.


The documentation for this struct was generated from the following files: