Home
last modified time | relevance | path

Searched refs:xpressive (Results 1 – 25 of 189) sorted by relevance

12345678

/third_party/boost/boost/xpressive/
Dxpressive_typeof.hpp32 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::set_initializer)
33 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::keeper_tag)
34 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::modifier_tag)
35 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::lookahead_tag)
36 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::lookbehind_tag)
37 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::check_tag)
38 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::mark_tag)
39 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::word_begin)
40 BOOST_TYPEOF_REGISTER_TYPE(boost::xpressive::detail::word_end)
41 BOOST_TYPEOF_REGISTER_TEMPLATE(boost::xpressive::detail::generic_quant_tag, (unsigned int)(unsigned…
[all …]
Dregex_actions.hpp62 namespace boost { namespace xpressive namespace
716 (xpressive::detail::is_char<char_type>::value) in operator ()()
720 return this->impl(val, xpressive::detail::is_string_iterator<BidiIter>()); in operator ()()
1517 detail::ignore_unused(xpressive::at); in ignore_unused_regex_actions()
1518 detail::ignore_unused(xpressive::push); in ignore_unused_regex_actions()
1519 detail::ignore_unused(xpressive::push_back); in ignore_unused_regex_actions()
1520 detail::ignore_unused(xpressive::push_front); in ignore_unused_regex_actions()
1521 detail::ignore_unused(xpressive::pop); in ignore_unused_regex_actions()
1522 detail::ignore_unused(xpressive::pop_back); in ignore_unused_regex_actions()
1523 detail::ignore_unused(xpressive::pop_front); in ignore_unused_regex_actions()
[all …]
Dregex_error.hpp39 namespace boost { namespace xpressive namespace
96 boost::xpressive::regex_error(code, msg) in ensure_()
102 boost::throw_exception(boost::xpressive::regex_error(code, msg)); in ensure_()
110 …boost::xpressive::detail::ensure_(!!(pred), code, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__)…
/third_party/boost/libs/xpressive/perf/
Dtime_dynamic_xpressive.cpp22 …boost::xpressive::sregex e(boost::xpressive::sregex::compile(re, boost::xpressive::regex_constants… in time_match()
23 boost::xpressive::smatch what; in time_match()
29 assert(boost::xpressive::regex_match( text, what, e )); in time_match()
35 boost::xpressive::regex_match( text, what, e ); in time_match()
48 boost::xpressive::regex_match( text, what, e ); in time_match()
58 void operator()( boost::xpressive::smatch const & ) const in operator ()()
65 …boost::xpressive::sregex e(boost::xpressive::sregex::compile(re, boost::xpressive::regex_constants… in time_find_all()
66 boost::xpressive::smatch what; in time_find_all()
77 boost::xpressive::sregex_iterator begin( text.begin(), text.end(), e ), end; in time_find_all()
94 boost::xpressive::sregex_iterator begin( text.begin(), text.end(), e ), end; in time_find_all()
Dtime_static_xpressive.cpp21 using namespace boost::xpressive;
82 boost::xpressive::sregex rx14 = as_xpr("Twain");
85 boost::xpressive::sregex rx15 = "Huck" >> +set[alpha];
88 boost::xpressive::sregex rx16 = +set[alpha] >> "ing";
91 boost::xpressive::sregex rx17 = bol >> -*~as_xpr('\n') >> "Twain";
94 boost::xpressive::sregex rx18 = ( as_xpr("Tom") | "Sawyer" | "Huckleberry" | "Finn" );
100 boost::xpressive::sregex rx19 =
141 boost::xpressive::sregex const &e = rxmap[ re ]; in time_match()
142 boost::xpressive::smatch what; in time_match()
148 assert(boost::xpressive::regex_match( text, what, e )); in time_match()
[all …]
/third_party/boost/libs/xpressive/doc/
Dxpressive.qbk13 [id xpressive]
14 [dirname xpressive]
46 [def _basic_regex_ [^[classref boost::xpressive::basic_regex basic_regex<>]]]
47 [def _match_results_ [^[classref boost::xpressive::match_results match_results<>]]]
48 [def _sub_match_ [^[classref boost::xpressive::sub_match sub_match<>]]]
49 [def _regex_compiler_ [^[classref boost::xpressive::regex_compiler regex_compiler<>]]]
50 [def _regex_iterator_ [^[classref boost::xpressive::regex_iterator regex_iterator<>]]]
51 [def _regex_token_iterator_ [^[classref boost::xpressive::regex_token_iterator regex_token_iterato…
52 [def _mark_tag_ [^[classref boost::xpressive::mark_tag mark_tag]]]
53 [def _regex_match_ [^[funcref boost::xpressive::regex_match regex_match()]]]
[all …]
Dstatic_regexes.qbk12 The feature that really sets xpressive apart from other C/C++ regular
14 expressions. xpressive achieves this through operator overloading, using a
51 meta-characters in Perl. In xpressive, literals always represent themselves.
64 in, at least one operand must be a user-defined type. We can use xpressive's
99 In static xpressive, this would be:
107 xpressive, if you just want grouping without capturing a back-reference, you
114 the [^(?i:)] pattern modifier. xpressive also has a case-insensitivity
139 [h2 Static xpressive Syntax Cheat Sheet]
142 static xpressive.
144 [def _s1_ [globalref boost::xpressive::s1 s1]]
[all …]
Dregexpp_diffs.qbk10 Since many of xpressive's users are likely to be familiar with the _regexpp_ library,
11 I would be remiss if I failed to point out some important differences between xpressive
14 * `xpressive::basic_regex<>` is a template on the iterator type, not the character type.
15 * `xpressive::basic_regex<>` cannot be constructed directly from a string; rather, you must use
17 * `xpressive::basic_regex<>` does not have an `imbue()` member function; rather, the `imbue()` memb…
18 function is in the `xpressive::regex_compiler<>` factory.
19 * `boost::basic_regex<>` has a subset of `std::basic_string<>`'s members. `xpressive::basic_regex<>`
23 `xpressive::basic_regex<>` are: `set_expression()`, `get_allocator()`, `imbue()`, `getloc()`,
25 * `xpressive::basic_regex<>` does not have a RegexTraits template parameter. Customization of regex
28 * `xpressive::basic_regex<>` and `xpressive::match_results<>` do not have an Allocator template
[all …]
Dintroduction.qbk10 [h2 What is xpressive?]
12 xpressive is a regular expression template library. Regular expressions
25 xpressive's dual nature is unique and powerful. Static xpressive is a bit
27 static regexes using expression templates. (Unlike _spirit_, xpressive does
29 pattern.) Dynamic xpressive is a bit like _regexpp_. In fact,
30 xpressive's interface should be familiar to anyone who has used _regexpp_.
31 xpressive's innovation comes from allowing you to mix and match static and
39 Enough theory. Let's have a look at ['Hello World], xpressive style:
42 #include <boost/xpressive/xpressive.hpp>
44 using namespace boost::xpressive;
[all …]
Dperf.qbk10 The performance of xpressive is competitive with _regexpp_. I have run performance
11 benchmarks comparing static xpressive, dynamic xpressive and _regexpp_ on two platforms:
13 platforms, xpressive comes off well on short matches and roughly on par with _regexpp_ on
18 the true test is how xpressive performs with ['your] patterns, ['your] input, and ['your]
22 [section:perf_gcc xpressive vs. Boost.Regex with GCC (Cygwin)]
26 * static xpressive
27 * dynamic xpressive
36 [[xpressive Version:] [0.9.6a]]
58 [section:perf_msvc xpressive vs. Boost.Regex with Visual C++]
62 * static xpressive
[all …]
Dexamples.qbk20 #include <boost/xpressive/xpressive.hpp>
22 using namespace boost::xpressive;
59 #include <boost/xpressive/xpressive.hpp>
61 using namespace boost::xpressive;
109 #include <boost/xpressive/xpressive.hpp>
111 using namespace boost::xpressive;
146 #include <boost/xpressive/xpressive.hpp>
148 using namespace boost::xpressive;
188 #include <boost/xpressive/xpressive.hpp>
190 using namespace boost::xpressive;
[all …]
Dacknowledgements.qbk12 expert advice during the early states of xpressive's development. Much of
13 static xpressive's syntax is owes a large debt to _spirit_, including the
14 syntax for xpressive's semantic actions. I am thankful for
22 porting xpressive to the Metrowerks CodeWarrior compiler. Markus
27 documentation for xpressive's semantic actions, symbol tables and attributes.
29 parser example in [^libs/xpressive/example/numbers.cpp] and the documentation
33 xpressive with Howard Hinnant's most excellent libc++.
36 for acting as xpressive's review manager.
DJamfile.v210 [ glob ../../../boost/xpressive/*.hpp ]
11 [ glob ../../../boost/xpressive/traits/*.hpp ]
35 xml xpressive
37 xpressive.qbk
42 xpressive
54 : xpressive
Dinstallation.qbk8 [section Installing xpressive]
10 [h2 Getting xpressive]
12 There are two ways to get xpressive. The first and simplest is to download
20 [h2 Building with xpressive]
24 do is `#include <boost/xpressive/xpressive.hpp>`. If you are only using static
52 [@http://beta.boost.org/development/tests/trunk/developer/xpressive.html
Dquick_start.qbk10 You don't need to know much to start being productive with xpressive. Let's begin with
11 the nickel tour of the types and algorithms xpressive provides.
13 [table xpressive's Tool-Box
15 …xpression. _basic_regex_ is the most important type in xpressive. Everything you do with xpressive
25 Now that you know a bit about the tools xpressive provides, you can pick the right tool for you
33 Most of the classes in xpressive are templates that are parameterized on the iterator type.
34 xpressive defines some common typedefs to make the job of choosing the right types easier.
37 [table xpressive Typedefs vs. Iterator Types
55 Do you want to find a pattern once? Many times? Search and replace? xpressive has tools for all
71 program that uses xpressive to solve that particular task.]
Dsymbols.qbk12 Symbol tables can be built into xpressive regular expressions with just a
21 An xpressive symbol table is just a `std::map<>`, where the key is a string type
38 #include <boost/xpressive/xpressive.hpp>
39 #include <boost/xpressive/regex_actions.hpp>
40 using namespace boost::xpressive;
81 [^libs/xpressive/example/numbers.cpp][footnote Many thanks to David Jenkins,
94 `a1`, `a2`, ..., `a9` in the `boost::xpressive` namespace. The attribute type
/third_party/boost/boost/log/support/
Dxpressive.hpp41 struct matching_expression_kind< xpressive::basic_regex< T > >
54 …ches(StringT const& str, xpressive::basic_regex< T > const& expr, xpressive::regex_constants::matc… in matches()
56 return xpressive::regex_match(str, expr, flags); in matches()
60 …atorT > const& str, xpressive::basic_regex< const CharT* > const& expr, xpressive::regex_constants… in matches()
63 return xpressive::regex_match(p, p + str.size(), expr, flags); in matches()
/third_party/boost/libs/wave/samples/token_statistics/xlex/
Dxpressive_lexer.hpp46 typedef boost::xpressive::basic_regex<Iterator> regex_type;
102 xpressive::match_results<Iterator> regex_result; in next_token()
105 namespace xpressive = boost::xpressive; in next_token()
109 if (xpressive::regex_search(first, last, regex_result, (*it).regex, in next_token()
110 xpressive::regex_constants::match_continuous)) in next_token()
/third_party/boost/libs/xpressive/test/
Dtest_symbols.cpp20 namespace xp = boost::xpressive;
27 using namespace boost::xpressive; in test1()
55 using namespace boost::xpressive; in test2()
85 using namespace boost::xpressive; in test3()
124 using namespace boost::xpressive; in test4()
162 using namespace boost::xpressive; in test5()
211 using namespace boost::xpressive; in test6()
240 using namespace boost::xpressive; in test7()
276 using namespace boost::xpressive; in BOOST_TYPEOF_REGISTER_TYPE()
317 using namespace boost::xpressive; in test9()
Dtest_actions.cpp19 namespace xp = boost::xpressive;
26 using namespace boost::xpressive; in test1()
47 using namespace boost::xpressive; in test2()
68 using namespace boost::xpressive; in test3()
99 using namespace boost::xpressive; in test4()
124 using namespace boost::xpressive; in test4_aux()
165 using namespace boost::xpressive; in test5()
233 using namespace boost::xpressive; in test6()
256 namespace xp = boost::xpressive; in test7()
Dtest_typeof.cpp26 namespace xp = boost::xpressive;
33 using namespace boost::xpressive; in test_misc1()
59 using namespace boost::xpressive; in test_misc2()
108 using namespace boost::xpressive; in test_misc3()
142 using namespace boost::xpressive; in test_misc4()
175 using namespace boost::xpressive; in test_misc5()
195 using namespace boost::xpressive; in test_misc6()
/third_party/boost/libs/metaparse/example/regexp/
Dmain.cpp39 using boost::xpressive::sregex;
40 using boost::xpressive::as_xpr;
68 return boost::xpressive::_; in run()
130 using boost::xpressive::regex_match; in test_string()
131 using boost::xpressive::smatch; in test_string()
DREADME1 This example provides an interface in front of boost::xpressive.
3 which is parsed (and verified) at compile-time. A boost::xpressive
6 of boost::xpressive.
/third_party/boost/boost/xpressive/detail/utility/
Dliterals.hpp20 namespace boost { namespace xpressive { namespace detail namespace
74 # define BOOST_XPR_CSTR_(Char, st) boost::xpressive::detail::string_literal<Char>::pick(st, L##st)
78 # define BOOST_XPR_CHAR_(Char, ch) boost::xpressive::detail::char_literal<Char, ch, L##ch>::value
79 # define BOOST_XPR_CSTR_(Char, st) boost::xpressive::detail::string_literal<Char>::pick(st, L##st)
/third_party/boost/doc/html/
Ddoc_HTML.manifest3427 xpressive.html
3428 xpressive/user_s_guide.html
3429 xpressive/reference.html
3430 boost/xpressive/swap.html
3431 boost/xpressive/op/at.html
3432 boost/xpressive/op/at/result.html
3433 boost/xpressive/op/at/resul_1_3_47_5_3_2_1_2_1_3.html
3434 boost/xpressive/op/at/resul_1_3_47_5_3_2_1_2_1_4.html
3435 boost/xpressive/op/at/resul_1_3_47_5_3_2_1_2_1_5.html
3436 boost/xpressive/op/back.html
[all …]

12345678