Searched refs:regex_constants (Results 1 - 25 of 43) sorted by relevance

12

/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/constants/
H A Dconstexpr.cc29 const std::regex_constants::syntax_option_type* option __attribute__((unused));
30 option = &std::regex_constants::icase;
31 option = &std::regex_constants::nosubs;
32 option = &std::regex_constants::optimize;
33 option = &std::regex_constants::collate;
34 option = &std::regex_constants::ECMAScript;
35 option = &std::regex_constants::basic;
36 option = &std::regex_constants::extended;
37 option = &std::regex_constants::awk;
38 option = &std::regex_constants
[all...]
H A Dmatch_flag_type.cc33 std::regex_constants::match_flag_type flag = std::regex_constants::match_default;
35 flag |= std::regex_constants::match_not_bol;
36 flag |= std::regex_constants::match_not_eol;
37 flag |= std::regex_constants::match_not_bow;
38 flag |= std::regex_constants::match_not_eow;
39 flag |= std::regex_constants::match_any;
40 flag |= std::regex_constants::match_not_null;
41 flag |= std::regex_constants::match_continuous;
42 flag |= std::regex_constants
[all...]
H A Derror_type.cc33 std::regex_constants::error_type err __attribute__((unused));
35 err = std::regex_constants::error_collate;
36 err = std::regex_constants::error_ctype;
37 err = std::regex_constants::error_escape;
38 err = std::regex_constants::error_backref;
39 err = std::regex_constants::error_brack;
40 err = std::regex_constants::error_paren;
41 err = std::regex_constants::error_brace;
42 err = std::regex_constants::error_badbrace;
43 err = std::regex_constants
[all...]
H A Dsyntax_option_type.cc30 std::regex_constants::syntax_option_type option { };
31 option = option | std::regex_constants::icase;
32 option = option | std::regex_constants::nosubs;
33 option = option | std::regex_constants::optimize;
34 option = option | std::regex_constants::collate;
35 option = option | std::regex_constants::ECMAScript;
36 option = option | std::regex_constants::basic;
37 option = option | std::regex_constants::extended;
38 option = option | std::regex_constants::awk;
39 option = option | std::regex_constants
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/
H A Dcstring_01.cc38 regex("\\[", regex_constants::awk);
39 VERIFY(regex_match_debug("\"", regex("[\\\"]", regex_constants::awk)));
40 VERIFY(regex_match_debug("/", regex("/", regex_constants::awk)));
41 VERIFY(regex_match_debug("\a", regex("\\a", regex_constants::awk)));
42 VERIFY(regex_match_debug("\"", regex("\\\"", regex_constants::awk)));
43 VERIFY(regex_match_debug("5", regex("\\65", regex_constants::awk)));
44 VERIFY(regex_match_debug("53", regex("\\0653", regex_constants::awk)));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/
H A D61424.cc31 regex_constants::syntax_option_type grammar[] = {
32 regex_constants::ECMAScript, regex_constants::extended,
33 regex_constants::awk, regex_constants::egrep
H A D61720.cc38 regex_constants::extended)));
40 regex_constants::extended)));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_search/ecma/
H A Dflags.cc39 regex re("((as)(df))", regex_constants::ECMAScript | regex_constants::nosubs);
45 VERIFY(!regex_search_debug("a", regex("^a"), regex_constants::match_not_bol));
47 VERIFY(!regex_search_debug("a", regex("a$"), regex_constants::match_not_eol));
50 regex_constants::match_not_bow));
53 regex_constants::match_not_eow));
55 VERIFY(!regex_search_debug("", regex(""), regex_constants::match_not_null));
57 VERIFY(!regex_search_debug("", regex("^$"), regex_constants::match_not_null));
59 regex_constants::match_not_null));
63 regex_constants
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/basic/
H A Dempty_range.cc41 regex re(s, regex_constants::basic);\
50 VERIFY(regex_match_debug ("]", regex("[]]", regex_constants::basic)));
51 VERIFY(!regex_match_debug ("]", regex("[^]]", regex_constants::basic)));
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/
H A Dregression.cc33 regex re("((.)", regex_constants::basic);
47 auto rx = std::regex(re_str, std::regex_constants::grep | std::regex_constants::icase);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/regex_error/
H A Dbase.cc26 re() : regex_error(std::regex_constants::error_stack) { }
H A Dregex_error.cc32 std::regex_error error(std::regex_constants::error_collate);
33 VERIFY(error.code() == std::regex_constants::error_collate);
/haiku-buildtools/gcc/libstdc++-v3/include/bits/
H A Dregex_scanner.h80 typedef regex_constants::syntax_option_type _FlagT;
98 : _M_flags & regex_constants::basic
100 : _M_flags & regex_constants::extended
102 : _M_flags & regex_constants::grep
104 : _M_flags & regex_constants::egrep
106 : _M_flags & regex_constants::awk
125 { return _M_flags & regex_constants::ECMAScript; }
129 { return _M_flags & (regex_constants::basic | regex_constants::grep); }
134 return _M_flags & (regex_constants
[all...]
H A Dregex_error.h40 namespace regex_constants namespace
124 } // namespace regex_constants
137 regex_constants::error_type _M_code;
146 regex_error(regex_constants::error_type __ecode);
155 regex_constants::error_type
163 __throw_regex_error(regex_constants::error_type __ecode);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/
H A Dbasic_replace.cc39 regex_constants::format_no_copy)
42 regex_constants::format_first_only)
/haiku-buildtools/gcc/libstdc++-v3/src/c++11/
H A Dregex.cc32 regex_error::regex_error(regex_constants::error_type __ecode)
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/
H A D61601.cc39 VERIFY(e.code() == regex_constants::error_space);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/
H A Dpstring.cc35 re.assign(cs, sizeof(cs)-1, std::regex_constants::basic);
H A Dstring.cc43 std::regex re("", std::regex_constants::extended);
47 re.assign("(", std::regex_constants::icase);
H A Dcstring.cc43 std::regex re("[[:alnum:]]", std::regex_constants::basic);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/
H A Dpstring.cc35 re.assign(cs, sizeof(cs)-1, std::regex_constants::basic);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/
H A Dpstring_char.cc34 VERIFY( re.flags() & std::regex_constants::basic );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/
H A Dpstring.cc33 test_type re(cs, 3, std::tr1::regex_constants::basic);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/
H A Dpstring.cc33 test_type re(cs, 3, std::tr1::regex_constants::basic);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/
H A Dcstring_bracket_01.cc82 VERIFY(e.code() == std::regex_constants::error_range);
86 VERIFY(!regex_match("b", regex("[-ac]", regex_constants::extended)));
87 VERIFY(!regex_match("b", regex("[ac-]", regex_constants::extended)));
88 VERIFY(regex_match("b", regex("[^-ac]", regex_constants::extended)));
89 VERIFY(regex_match("b", regex("[^ac-]", regex_constants::extended)));
90 VERIFY(regex_match("&", regex("[%--]", regex_constants::extended)));
91 VERIFY(regex_match(".", regex("[--@]", regex_constants::extended)));
94 regex("[a--@]", regex_constants::extended);
100 VERIFY(regex_match("].", regex("[][.hyphen.]-0]*", regex_constants::extended)));
115 VERIFY(e.code() == std::regex_constants
[all...]

Completed in 220 milliseconds

12