1 | |
---|
2 | [library Boost.Xpressive |
---|
3 | [quickbook 1.3] |
---|
4 | [authors [Niebler, Eric]] |
---|
5 | [copyright 2003 2004 Eric Niebler] |
---|
6 | [category string-text] |
---|
7 | [id xpressive] |
---|
8 | [dirname xpressive] |
---|
9 | [purpose |
---|
10 | Regular expressions that can be written as strings or as expression templates, |
---|
11 | and that can refer to each other and themselves recursively with the power of |
---|
12 | context-free grammars |
---|
13 | ] |
---|
14 | [license |
---|
15 | Distributed under the Boost Software License, Version 1.0. |
---|
16 | (See accompanying file LICENSE_1_0.txt or copy at |
---|
17 | [@http://www.boost.org/LICENSE_1_0.txt]) |
---|
18 | ] |
---|
19 | ] |
---|
20 | |
---|
21 | [/ QuickBook Document version 1.3 ] |
---|
22 | |
---|
23 | [/ Images ] |
---|
24 | |
---|
25 | [def __note__ [$images/note.png]] |
---|
26 | [def __alert__ [$images/caution.png]] |
---|
27 | [def __detail__ [$images/note.png]] |
---|
28 | [def __tip__ [$images/tip.png]] |
---|
29 | |
---|
30 | [/ Links ] |
---|
31 | |
---|
32 | [def _spirit_fx_ [@http://spirit.sourceforge.net Spirit Parser Framework]] |
---|
33 | [def _spirit_ [@http://spirit.sourceforge.net Spirit]] |
---|
34 | [def _regexpp_ [@../../libs/regex Boost.Regex]] |
---|
35 | [def _proposal_ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1429.htm proposal]] |
---|
36 | [def _boost_ [@http://www.boost.org Boost]] |
---|
37 | [def _greta_ [@http://research.microsoft.com/projects/greta GRETA]] |
---|
38 | [def _perl6_ [@http://www.perl.com/pub/a/2002/06/04/apo5.html Perl 6]] |
---|
39 | [def _iterator_ [@../../libs/iterator/doc/index.html Boost.Iterator]] |
---|
40 | [def _basic_regex_ [^[classref boost::xpressive::basic_regex basic_regex<>]]] |
---|
41 | [def _match_results_ [^[classref boost::xpressive::match_results match_results<>]]] |
---|
42 | [def _sub_match_ [^[classref boost::xpressive::sub_match sub_match<>]]] |
---|
43 | [def _regex_compiler_ [^[classref boost::xpressive::regex_compiler regex_compiler<>]]] |
---|
44 | [def _regex_iterator_ [^[classref boost::xpressive::regex_iterator regex_iterator<>]]] |
---|
45 | [def _regex_token_iterator_ [^[classref boost::xpressive::regex_token_iterator regex_token_iterator<>]]] |
---|
46 | [def _regex_match_ [^[funcref boost::xpressive::regex_match regex_match()]]] |
---|
47 | [def _regex_search_ [^[funcref boost::xpressive::regex_search regex_search()]]] |
---|
48 | [def _regex_replace_ [^[funcref boost::xpressive::regex_replace regex_replace()]]] |
---|
49 | [def _syntax_option_type_ [^[enumref boost::xpressive::regex_constants::syntax_option_type syntax_option_type]]] |
---|
50 | [def _match_flag_type_ [^[enumref boost::xpressive::regex_constants::match_flag_type match_flag_type]]] |
---|
51 | [def _error_type_ [^[enumref boost::xpressive::regex_constants::error_type error_type]]] |
---|
52 | [def _regex_compile_ [^[memberref boost::xpressive::compile basic_regex::compile()]]] |
---|
53 | |
---|
54 | [include preface.qbk] |
---|
55 | |
---|
56 | [section User's Guide] |
---|
57 | |
---|
58 | This section describes how to use xpressive to accomplish text manipulation and |
---|
59 | parsing tasks. If you are looking for detailed information regarding specific |
---|
60 | components in xpressive, check the [link xpressive.reference Reference] section. |
---|
61 | |
---|
62 | [include introduction.qbk] |
---|
63 | |
---|
64 | [include installation.qbk] |
---|
65 | |
---|
66 | [include quick_start.qbk] |
---|
67 | |
---|
68 | [section Creating a Regex Object] |
---|
69 | |
---|
70 | When using xpressive, the first thing you'll do is create a _basic_regex_ object. This section goes |
---|
71 | over the nuts and bolts of building a regular expression in the two dialects xpressive supports: static |
---|
72 | and dynamic. |
---|
73 | |
---|
74 | [include static_regexes.qbk] |
---|
75 | |
---|
76 | [include dynamic_regexes.qbk] |
---|
77 | |
---|
78 | [endsect] |
---|
79 | |
---|
80 | [include matching.qbk] |
---|
81 | |
---|
82 | [include results.qbk] |
---|
83 | |
---|
84 | [include substitutions.qbk] |
---|
85 | |
---|
86 | [include tokenization.qbk] |
---|
87 | |
---|
88 | [include grammars.qbk] |
---|
89 | |
---|
90 | [include traits.qbk] |
---|
91 | |
---|
92 | [include tips_n_tricks.qbk] |
---|
93 | |
---|
94 | [include concepts.qbk] |
---|
95 | |
---|
96 | [include examples.qbk] |
---|
97 | |
---|
98 | [endsect] |
---|
99 | |
---|
100 | [xinclude autodoc.boostbook] |
---|
101 | |
---|
102 | [include acknowledgements.qbk] |
---|
103 | |
---|
104 | [section Appendices] |
---|
105 | |
---|
106 | [include nyi.qbk] |
---|
107 | |
---|
108 | [include regexpp_diffs.qbk] |
---|
109 | |
---|
110 | [include perf.qbk] |
---|
111 | |
---|
112 | [endsect] |
---|
113 | |
---|