2
3
4
5
6
7
8
9
10
11
12
13
15#ifndef _PCRE2CPP_COMPILE_OPTIONS_HPP_
16 #define _PCRE2CPP_COMPILE_OPTIONS_HPP_
18 #include <pcre2cpp/config.hpp>
21_PCRE2CPP_ERROR(
"This is only available for c++17 and greater!");
24 #include <pcre2cpp/types.hpp>
28
29
30
95
96
97
101
102
103
104
105
108 return mstd::operator|(opt0, opt1);
base pcre2cpp exception class
Definition exceptions.hpp:134
compile_options_bits
Compile options.
Definition compile_options.hpp:31
@ NoAutoPossess
Disable auto - possessification.
Definition compile_options.hpp:77
@ MatchUnsetBackRef
Match unset backreferences.
Definition compile_options.hpp:65
@ DollarEndonly
$ not to match newline at end
Definition compile_options.hpp:49
@ Caseless
Do caseless matching.
Definition compile_options.hpp:47
@ AllowEmptyClass
Allow empty classes.
Definition compile_options.hpp:37
@ DotAll
. matches anything including NL
Definition compile_options.hpp:51
@ NoDotStarAnchor
Disable automatic anchoring for .*.
Definition compile_options.hpp:79
@ NeverUCP
Lock out PCRE2_UCP, e.g.via(*UCP).
Definition compile_options.hpp:71
@ AutoCallout
Compile automatic callouts.
Definition compile_options.hpp:45
@ AltVerbNames
Process backslashes in verb names.
Definition compile_options.hpp:43
@ AltCircumflex
Alternative handling of ^ in multiline mode.
Definition compile_options.hpp:41
@ NoStartOptimize
Disable match - time start optimizations.
Definition compile_options.hpp:81
@ None
No options set (default).
Definition compile_options.hpp:33
@ Multiline
^ and $ match newlines within data
Definition compile_options.hpp:67
@ UnGreedy
Invert greediness of quantifiers.
Definition compile_options.hpp:87
@ NoUTFCheck
Do not check the pattern for UTF validity (only relevant if PCRE2_UTF is set).
Definition compile_options.hpp:83
@ UTF
Treat pattern and subjects as UTF strings.
Definition compile_options.hpp:91
@ NoAutoCapture
Disable numbered capturing paren - theses(named ones available).
Definition compile_options.hpp:75
@ UseOffsetLimit
Enable offset limit for unanchored matching.
Definition compile_options.hpp:89
@ MatchInvalidUTF
Enable support for matching invalid UTF.
Definition compile_options.hpp:63
@ AltBSUX
Alternative handling of \u, \U, and \x.
Definition compile_options.hpp:39
@ NeverUTF
Lock out PCRE2_UTF, e.g.via(*UTF).
Definition compile_options.hpp:73
@ Anchored
Force pattern anchoring.
Definition compile_options.hpp:35
@ FirstLine
Force matching to be before newline.
Definition compile_options.hpp:59
@ DupNames
Allow duplicate names for subpatterns.
Definition compile_options.hpp:53
@ Literal
Pattern characters are all literal.
Definition compile_options.hpp:61
@ EndAnchored
Pattern can match only at end of subject.
Definition compile_options.hpp:55
@ NeverBackslashC
Lock out the use of \C in patterns.
Definition compile_options.hpp:69
@ Extended
Ignore white space and # comments.
Definition compile_options.hpp:57
@ UCP
Use Unicode properties for \d, \w, etc.
Definition compile_options.hpp:85
#define _PCRE2CPP_CONSTEXPR17
constexpr for c++17 and higher
Definition config.hpp:236
#define _PCRE2CPP_HAS_CXX17
check if compiler has c++ version greater or equal to c++17
Definition config.hpp:133
static _PCRE2CPP_CONSTEXPR17 compile_options operator|(const compile_options_bits opt0, const compile_options_bits opt1) noexcept
operator for combining compile options to one flags group
Definition compile_options.hpp:106