2
3
4
5
6
7
8
9
10
11
12
13
15#ifndef _PCRE2CPP_REGEX_MATCH_OPTIONS_HPP_
16 #define _PCRE2CPP_REGEX_MATCH_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
61
62
63
67
68
69
70
71
72
74 return mstd::operator|(opt0, opt1);
base pcre2cpp exception class
Definition exceptions.hpp:134
static _PCRE2CPP_CONSTEXPR17 match_options operator|(const match_options_bits opt0, const match_options_bits opt1) noexcept
operator for combining match options to one flags group
Definition match_options.hpp:73
match_options_bits
Match options.
Definition match_options.hpp:31
@ NotEOL
Subject string is not the end of a line.
Definition match_options.hpp:45
@ PartialHard
Return match_error_codes::Partial for a partial match even if there is a full match.
Definition match_options.hpp:55
@ NotBOL
Subject string is not the beginning of a line.
Definition match_options.hpp:43
@ NotEmpty
An empty string is not a valid match.
Definition match_options.hpp:47
@ PartialSoft
Return match_error_codes::Partial for a partial match if no full matches are found.
Definition match_options.hpp:57
@ None
No options set (default).
Definition match_options.hpp:33
@ CopyMatchedSubject
On success, make a private subject copy.
Definition match_options.hpp:37
@ NoUTFCheck
Do not check the subject for UTF validity(only relevant if compile_options::UTF was set at compile ti...
Definition match_options.hpp:53
@ Anchored
Match only at the first position.
Definition match_options.hpp:35
@ NotEmptyAtStart
An empty string at the start of the subject is not a valid match.
Definition match_options.hpp:49
@ EndAnchored
Pattern can match only at end of subject.
Definition match_options.hpp:41
@ DisableRecurseLoopCheck
Only useful in rare cases; use with care.
Definition match_options.hpp:39
@ NoJIT
Do not use JIT matching.
Definition match_options.hpp:51
#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