Home
last modified time | relevance | path

Searched refs:regex_constants (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/boost/libs/regex/src/
Dregex_traits_defaults.cpp41 BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_syntax(regex_constants::syntax_type n) in get_default_syntax()
111 BOOST_REGEX_DECL const char* BOOST_REGEX_CALL get_default_error_string(regex_constants::error_type … in get_default_error_string()
141 …return (n > ::boost::regex_constants::error_unknown) ? s_default_error_messages[ ::boost::regex_co… in get_default_error_string()
300 BOOST_REGEX_DECL regex_constants::escape_syntax_type BOOST_REGEX_CALL get_default_escape_syntax_typ… in get_default_escape_syntax_type()
306 static regex_constants::escape_syntax_type char_syntax[] = { in get_default_escape_syntax_type()
307 regex_constants::escape_type_identity, /**/ in get_default_escape_syntax_type()
308 regex_constants::escape_type_identity, /**/ in get_default_escape_syntax_type()
309 regex_constants::escape_type_identity, /**/ in get_default_escape_syntax_type()
310 regex_constants::escape_type_identity, /**/ in get_default_escape_syntax_type()
311 regex_constants::escape_type_identity, /**/ in get_default_escape_syntax_type()
[all …]
Dcpp_regex_traits.cpp65 for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i) in init()
86 for(regex_constants::syntax_type j = 1; j < regex_constants::syntax_max; ++j) in init()
107 m_char_map[i] = regex_constants::escape_type_class; in init()
109 m_char_map[i] = regex_constants::escape_type_not_class; in init()
/third_party/boost/boost/regex/v4/
Dbasic_regex_parser.hpp68 void fail(regex_constants::error_type error_code, std::ptrdiff_t position);
69 …void fail(regex_constants::error_type error_code, std::ptrdiff_t position, std::string message, st…
70 …void fail(regex_constants::error_type error_code, std::ptrdiff_t position, const std::string& mess… in fail()
98 regex_constants::syntax_option_type parse_options();
151 fail(regex_constants::error_empty, 0); in parse()
177 …fail(regex_constants::error_unknown, 0, "An invalid combination of regular expression syntax flags… in parse()
193 …fail(regex_constants::error_paren, ::boost::BOOST_REGEX_DETAIL_NS::distance(m_base, m_position), "… in parse()
205 void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_code, std::ptrdiff_t… in fail()
213 void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_code, std::ptrdiff_t… in fail()
226 if(error_code != regex_constants::error_empty) in fail()
[all …]
Dmatch_flags.hpp28 namespace regex_constants{ namespace
121 using regex_constants::match_flag_type;
122 using regex_constants::match_default;
123 using regex_constants::match_not_bol;
124 using regex_constants::match_not_eol;
125 using regex_constants::match_not_bob;
126 using regex_constants::match_not_eob;
127 using regex_constants::match_not_bow;
128 using regex_constants::match_not_eow;
129 using regex_constants::match_not_dot_newline;
[all …]
Du32regex_token_iterator.hpp136 …ast_end, end, what, re, ((what[0].first == what[0].second) ? flags | regex_constants::match_not_in… in next()
260 …nst char* p, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
265 … wchar_t* p, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
271 …st UChar* p, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
277 …, Alloc>& p, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
282 …deString& s, const u32regex& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
289 …* p, const u32regex& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
295 …* p, const u32regex& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
302 …* p, const u32regex& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
308 …& p, const u32regex& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_u32regex_token_iterator()
[all …]
Du32regex_iterator.hpp61 f |= regex_constants::match_not_initial_null; in next()
151 …2regex_iterator(const char* p, const u32regex& e, regex_constants::match_flag_type m = regex_const… in make_u32regex_iterator()
156 …gex_iterator(const wchar_t* p, const u32regex& e, regex_constants::match_flag_type m = regex_const… in make_u32regex_iterator()
162 …regex_iterator(const UChar* p, const u32regex& e, regex_constants::match_flag_type m = regex_const… in make_u32regex_iterator()
168 …ring<charT, Traits, Alloc>& p, const u32regex& e, regex_constants::match_flag_type m = regex_const… in make_u32regex_iterator()
173 …CE_QUALIFIER UnicodeString& s, const u32regex& e, regex_constants::match_flag_type m = regex_const… in make_u32regex_iterator()
Dbasic_regex.hpp169 typedef regex_constants::syntax_option_type flag_type;
217 typedef regex_constants::syntax_option_type flag_type;
342 typedef regex_constants::syntax_option_type flag_type;
350 explicit basic_regex(const charT* p, flag_type f = regex_constants::normal) in basic_regex()
354 basic_regex(const charT* p1, const charT* p2, flag_type f = regex_constants::normal) in basic_regex()
381 basic_regex& assign(const charT* p, flag_type f = regex_constants::normal) in assign()
396 flag_type f = regex_constants::normal) in assign()
403 …LL set_expression(const std::basic_string<charT, ST, SA>& p, flag_type f = regex_constants::normal) in set_expression()
409 …explicit basic_regex(const std::basic_string<charT, ST, SA>& p, flag_type f = regex_constants::nor… in basic_regex()
415 …basic_regex(InputIterator arg_first, InputIterator arg_last, flag_type f = regex_constants::normal) in basic_regex()
[all …]
Dregex_match.hpp58 return regex_match(first, last, m, e, flags | regex_constants::match_any); in regex_match()
90 return regex_match(str, str + traits::length(str), m, e, flags | regex_constants::match_any); in regex_match()
100 return regex_match(s.begin(), s.end(), m, e, flags | regex_constants::match_any); in regex_match()
115 …return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::matc… in regex_match()
130 …return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::matc… in regex_match()
145 …return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::matc… in regex_match()
160 …return regex_match(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::matc… in regex_match()
176 …return regex_match(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::mat… in regex_match()
191 …return regex_match(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::mat… in regex_match()
206 …return regex_match(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::mat… in regex_match()
[all …]
Dw32_regex_traits.hpp156 typedef std::map<charT, regex_constants::syntax_type> map_type;
161 regex_constants::syntax_type syntax_type(charT c)const in syntax_type()
166 regex_constants::escape_syntax_type escape_syntax_type(charT c) const in escape_syntax_type()
171 …if(::boost::BOOST_REGEX_DETAIL_NS::w32_is_lower(c, this->m_locale)) return regex_constants::escape… in escape_syntax_type()
172 …if(::boost::BOOST_REGEX_DETAIL_NS::w32_is_upper(c, this->m_locale)) return regex_constants::escape… in escape_syntax_type()
187 string_type get_default_message(regex_constants::syntax_type);
215 for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i) in w32_regex_traits_char_layer()
226 for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i) in w32_regex_traits_char_layer()
240 w32_regex_traits_char_layer<charT>::get_default_message(regex_constants::syntax_type i) in get_default_message()
266 regex_constants::syntax_type syntax_type(char c)const in syntax_type()
[all …]
Dregex_token_iterator.hpp146 …ast_end, end, what, re, ((what[0].first == what[0].second) ? flags | regex_constants::match_not_in… in next()
277 … basic_regex<charT, traits>& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
282 … basic_regex<charT, traits>& e, int submatch = 0, regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
287 …egex<charT, traits>& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
292 …egex<charT, traits>& e, const int (&submatch)[N], regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
297 …rT, traits>& e, const std::vector<int>& submatch, regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
302 …rT, traits>& e, const std::vector<int>& submatch, regex_constants::match_flag_type m = regex_const… in make_regex_token_iterator()
Dregex_search.hpp52 if(e.flags() & regex_constants::failbit) in regex_search()
96 return regex_search(first, last, m, e, flags | regex_constants::match_any); in regex_search()
112 return regex_search(first, last, m, e, flags | regex_constants::match_any); in regex_search()
139 if(e.flags() & regex_constants::failbit) in regex_search()
144 …erator, match_alloc_type, traits> matcher(first, last, m, e, flags | regex_constants::match_any, f… in regex_search()
171 …return regex_search(str, str + regex::traits_type::length(str), m, e, flags | regex_constants::mat… in regex_search()
179 …return regex_search(str, str + wregex::traits_type::length(str), m, e, flags | regex_constants::ma… in regex_search()
187 return regex_search(s.begin(), s.end(), m, e, flags | regex_constants::match_any); in regex_search()
195 return regex_search(s.begin(), s.end(), m, e, flags | regex_constants::match_any); in regex_search()
/third_party/boost/boost/xpressive/
Dbasic_regex.hpp44 … BOOST_XPR_ENSURE_(!stack_error, regex_constants::error_stack, "Regex stack space exhausted"); in throw_on_stack_error()
70 typedef regex_constants::syntax_option_type flag_type;
72 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, ECMAScript = regex_constants::E…
73 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, icase = regex_constants::i…
74 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, nosubs = regex_constants::n…
75 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, optimize = regex_constants::o…
76 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, collate = regex_constants::c…
77 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, single_line = regex_constants::s…
78 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, not_dot_null = regex_constants::n…
79 …BOOST_STATIC_CONSTANT(regex_constants::syntax_option_type, not_dot_newline = regex_constants::n…
[all …]
Dregex_algorithms.hpp54 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match_impl()
73 else if(state.found_partial_match_ && 0 != (flags & regex_constants::match_partial)) in regex_match_impl()
106 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
128 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
149 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
174 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
200 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
225 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
247 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
271 , regex_constants::match_flag_type flags = regex_constants::match_default in regex_match()
[all …]
/third_party/boost/libs/regex/doc/
Dbasic_regex.qbk56 typedef regex_constants::``[syntax_option_type]`` flag_type;
61 static const regex_constants::``[syntax_option_type]`` normal
62 = regex_constants::normal;
63 static const regex_constants::``[syntax_option_type]`` ECMAScript
65 static const regex_constants::``[syntax_option_type]`` JavaScript
67 static const regex_constants::``[syntax_option_type]`` JScript
69 static const regex_constants::``[syntax_option_type]`` basic
70 = regex_constants::basic;
71 static const regex_constants::``[syntax_option_type]`` extended
72 = regex_constants::extended;
[all …]
Dicu_strings.qbk57 boost::regex_constants::syntax_option_type opt);
64 boost::regex_constants::syntax_option_type opt
65 = boost::regex_constants::perl);
71 boost::regex_constants::syntax_option_type opt
72 = boost::regex_constants::perl);
77 boost::regex_constants::syntax_option_type opt
78 = boost::regex_constants::perl);
83 boost::regex_constants::syntax_option_type opt
84 = boost::regex_constants::perl);
90 boost::regex_constants::syntax_option_type opt
[all …]
Dmfc_strings.qbk54 ::boost::regex_constants::syntax_option_type f = boost::regex_constants::normal);
80 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default);
111 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default)
135 … boost::regex_constants::match_flag_type f = boost::regex_constants::match_default)
163 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default)
220 ::boost::regex_constants::match_flag_type f = boost::regex_constants::match_default);
251 ::boost::regex_constants::match_flag_type f = boost::regex_constants::match_default);
261 ::boost::regex_constants::match_flag_type f = boost::regex_constants::match_default);
271 ::boost::regex_constants::match_flag_type f = boost::regex_constants::match_default);
/third_party/boost/boost/regex/
Dmfc.hpp43 …const ATL::CSimpleStringT<B, b>& s, ::boost::regex_constants::syntax_option_type f = boost::regex_… in make_regex()
55 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default) in regex_match()
67 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default) in regex_match()
81 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default) in regex_search()
93 boost::regex_constants::match_flag_type f = boost::regex_constants::match_default) in regex_search()
105 …gT<B, b>& s, const basic_regex<B>& e, ::boost::regex_constants::match_flag_type f = boost::regex_c… in make_regex_iterator()
113 …const basic_regex<B>& e, int sub = 0, ::boost::regex_constants::match_flag_type f = boost::regex_c… in make_regex_token_iterator()
121 …<B>& e, const std::vector<int>& subs, ::boost::regex_constants::match_flag_type f = boost::regex_c… in make_regex_token_iterator()
129 …c_regex<B>& e, const int (& subs)[N], ::boost::regex_constants::match_flag_type f = boost::regex_c… in make_regex_token_iterator()
Dconcepts.hpp304 … function_requires<BitmaskConcept<global_regex_namespace::regex_constants::syntax_option_type> >(); in global_constraints()
305 global_regex_namespace::regex_constants::syntax_option_type opts in global_constraints()
306 = global_regex_namespace::regex_constants::icase in global_constraints()
307 | global_regex_namespace::regex_constants::nosubs in global_constraints()
308 | global_regex_namespace::regex_constants::optimize in global_constraints()
309 | global_regex_namespace::regex_constants::collate in global_constraints()
310 | global_regex_namespace::regex_constants::ECMAScript in global_constraints()
311 | global_regex_namespace::regex_constants::basic in global_constraints()
312 | global_regex_namespace::regex_constants::extended in global_constraints()
313 | global_regex_namespace::regex_constants::awk in global_constraints()
[all …]
Dpattern_except.hpp53 …explicit regex_error(const std::string& s, regex_constants::error_type err = regex_constants::erro…
54 explicit regex_error(regex_constants::error_type err);
56 regex_constants::error_type code()const in code()
62 regex_constants::error_type m_error_code;
74 void raise_error(const traits& t, regex_constants::error_type code) in raise_error()
/third_party/boost/libs/regex/test/regress/
Dtest_overloads.cpp32 …BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), sm, e, boost::regex_constants::match_def… in test_overloads()
34 …BOOST_REGEX_TEST(boost::regex_match(cs.begin(), cs.end(), e, boost::regex_constants::match_default… in test_overloads()
36 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), cm, e, boost::regex_constants::match_default)) in test_overloads()
38 BOOST_REGEX_TEST(boost::regex_match(s.c_str(), e, boost::regex_constants::match_default)) in test_overloads()
40 BOOST_REGEX_TEST(boost::regex_match(s, sm, e, boost::regex_constants::match_default)) in test_overloads()
42 BOOST_REGEX_TEST(boost::regex_match(s, e, boost::regex_constants::match_default)) in test_overloads()
45 …BOOST_REGEX_TEST(boost::regex_search(cs.begin(), cs.end(), sm, e, boost::regex_constants::match_de… in test_overloads()
47 …BOOST_REGEX_TEST(boost::regex_search(cs.begin(), cs.end(), e, boost::regex_constants::match_defaul… in test_overloads()
49 BOOST_REGEX_TEST(boost::regex_search(s.c_str(), cm, e, boost::regex_constants::match_default)) in test_overloads()
51 BOOST_REGEX_TEST(boost::regex_search(s.c_str(), e, boost::regex_constants::match_default)) in test_overloads()
[all …]
/third_party/boost/boost/xpressive/detail/dynamic/
Dparser_traits.hpp48 , flags_(regex_constants::ECMAScript) in compiler_traits()
56 regex_constants::syntax_option_type flags() const in flags()
63 void flags(regex_constants::syntax_option_type flags) in flags()
101 regex_constants::compiler_token_type get_token(FwdIter &begin, FwdIter end) in get_token()
103 using namespace regex_constants; in get_token()
106 return regex_constants::token_end_of_pattern; in get_token()
137 using namespace regex_constants; in get_quant_spec()
218regex_constants::compiler_token_type get_group_type(FwdIter &begin, FwdIter end, string_type &name) in get_group_type()
220 using namespace regex_constants; in get_group_type()
291 regex_constants::compiler_token_type get_charset_token(FwdIter &begin, FwdIter end) in get_charset_token()
[all …]
Dparser.hpp55 , regex_constants::syntax_option_type flags in make_char_xpression()
59 if(0 != (regex_constants::icase_ & flags)) in make_char_xpression()
77 regex_constants::syntax_option_type flags in make_any_xpression()
81 using namespace regex_constants; in make_any_xpression()
115 , regex_constants::syntax_option_type flags in make_literal_xpression()
125 if(0 != (regex_constants::icase_ & flags)) in make_literal_xpression()
144 , regex_constants::syntax_option_type flags in make_backref_xpression()
148 if(0 != (regex_constants::icase_ & flags)) in make_backref_xpression()
217 , regex_constants::syntax_option_type flags in make_charset_xpression()
221 bool const icase = (0 != (regex_constants::icase_ & flags)); in make_charset_xpression()
[all …]
/third_party/boost/libs/regex/test/concepts/
Dicu_concept_check.cpp100 boost::regex_constants::match_flag_type flgs = boost::regex_constants::match_default; in main()
183 …boost::make_u32regex_token_iterator((const char*)(pb), e1, 0, boost::regex_constants::match_defaul… in main()
186 …oost::make_u32regex_token_iterator((const UChar*)(pb), e1, 0, boost::regex_constants::match_defaul… in main()
189 …st::make_u32regex_token_iterator((const wchar_t*)(pb), e1, 0, boost::regex_constants::match_defaul… in main()
192 …check_token_iterator(boost::make_u32regex_token_iterator(s1, e1, 0, boost::regex_constants::match_… in main()
195 …check_token_iterator(boost::make_u32regex_token_iterator(s2, e1, 0, boost::regex_constants::match_… in main()
198 …check_token_iterator(boost::make_u32regex_token_iterator(us, e1, 0, boost::regex_constants::match_… in main()
202 …t::make_u32regex_token_iterator((const char*)(pb), e1, subs2, boost::regex_constants::match_defaul… in main()
204 …::make_u32regex_token_iterator((const UChar*)(pb), e1, subs2, boost::regex_constants::match_defaul… in main()
206 …make_u32regex_token_iterator((const wchar_t*)(pb), e1, subs2, boost::regex_constants::match_defaul… in main()
[all …]
/third_party/boost/boost/range/adaptor/
Dtokenized.hpp70 regex_holder<Regex,int,regex_constants::match_flag_type>
73 regex_constants::match_flag_type f = in operator ()()
74 regex_constants::match_default ) const in operator ()()
77 regex_constants::match_flag_type>( re, submatch, f ); in operator ()()
81 regex_holder<Regex,Submatch,regex_constants::match_flag_type>
84 regex_constants::match_flag_type f = in operator ()()
85 regex_constants::match_default ) const in operator ()()
88 regex_constants::match_flag_type>( re, sub, f ); in operator ()()
/third_party/boost/boost/iostreams/filter/
Dregex.hpp34 typedef regex_constants::match_flag_type flag_type;
40 flag_type flags = regex_constants::match_default ) in basic_regex_filter()
44 flag_type flags = regex_constants::match_default, in basic_regex_filter()
45 flag_type fmt_flags = regex_constants::format_default ) in basic_regex_filter()
49 flag_type flags = regex_constants::match_default, in basic_regex_filter()
50 flag_type fmt_flags = regex_constants::format_default ) in basic_regex_filter()

12345