Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/boost/tr1/regex.hpp @ 44

Last change on this file since 44 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 3.8 KB
Line 
1//  (C) Copyright John Maddock 2005.
2//  Use, modification and distribution are subject to the
3//  Boost Software License, Version 1.0. (See accompanying file
4//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef BOOST_TR1_REGEX_HPP_INCLUDED
7#  define BOOST_TR1_REGEX_HPP_INCLUDED
8#  include <boost/tr1/detail/config.hpp>
9
10#ifdef BOOST_HAS_TR1_REGEX
11
12#  include BOOST_TR1_HEADER(regex)
13
14#else
15
16#include <boost/regex.hpp>
17
18namespace std{ namespace tr1{
19
20// [7.5] Regex constants
21namespace regex_constants {
22
23using ::boost::regex_constants::syntax_option_type;
24using ::boost::regex_constants::icase;
25using ::boost::regex_constants::nosubs;
26using ::boost::regex_constants::optimize;
27using ::boost::regex_constants::collate;
28using ::boost::regex_constants::ECMAScript;
29using ::boost::regex_constants::basic;
30using ::boost::regex_constants::extended;
31using ::boost::regex_constants::awk;
32using ::boost::regex_constants::grep;
33using ::boost::regex_constants::egrep;
34
35using ::boost::regex_constants::match_flag_type;
36using ::boost::regex_constants::match_default;
37using ::boost::regex_constants::match_not_bol;
38using ::boost::regex_constants::match_not_eol;
39using ::boost::regex_constants::match_not_bow;
40using ::boost::regex_constants::match_not_eow;
41using ::boost::regex_constants::match_any;
42using ::boost::regex_constants::match_not_null;
43using ::boost::regex_constants::match_continuous;
44using ::boost::regex_constants::match_prev_avail;
45using ::boost::regex_constants::format_default;
46using ::boost::regex_constants::format_sed;
47using ::boost::regex_constants::format_no_copy;
48using ::boost::regex_constants::format_first_only;
49
50using ::boost::regex_constants::error_type;
51using ::boost::regex_constants::error_collate;
52using ::boost::regex_constants::error_ctype;
53using ::boost::regex_constants::error_escape;
54using ::boost::regex_constants::error_backref;
55using ::boost::regex_constants::error_brack;
56using ::boost::regex_constants::error_paren;
57using ::boost::regex_constants::error_brace;
58using ::boost::regex_constants::error_badbrace;
59using ::boost::regex_constants::error_range;
60using ::boost::regex_constants::error_space;
61using ::boost::regex_constants::error_badrepeat;
62using ::boost::regex_constants::error_complexity;
63using ::boost::regex_constants::error_stack;
64
65} // namespace regex_constants
66
67// [7.6] Class regex_error
68using ::boost::regex_error;
69
70// [7.7] Class template regex_traits
71using ::boost::regex_traits;
72
73// [7.8] Class template basic_regex
74using ::boost::basic_regex;
75using ::boost::regex;
76#ifndef BOOST_NO_WREGEX
77using ::boost::wregex;
78#endif
79
80#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582)
81// [7.8.6] basic_regex swap
82using ::boost::swap;
83#endif
84
85// [7.9] Class template sub_match
86using ::boost::sub_match;
87
88using ::boost::csub_match;
89#ifndef BOOST_NO_WREGEX
90using ::boost::wcsub_match;
91#endif
92using ::boost::ssub_match;
93#ifndef BOOST_NO_WREGEX
94using ::boost::wssub_match;
95#endif
96
97// [7.10] Class template match_results
98using ::boost::match_results;
99using ::boost::cmatch;
100#ifndef BOOST_NO_WREGEX
101using ::boost::wcmatch;
102#endif
103using ::boost::smatch;
104#ifndef BOOST_NO_WREGEX
105using ::boost::wsmatch;
106#endif
107
108using ::boost::regex_match;
109
110// [7.11.3] Function template regex_search
111using ::boost::regex_search;
112
113// [7.11.4] Function template regex_replace
114using ::boost::regex_replace;
115
116// [7.12.1] Class template regex_iterator
117using ::boost::regex_iterator;
118using ::boost::cregex_iterator;
119#ifndef BOOST_NO_WREGEX
120using ::boost::wcregex_iterator;
121#endif
122using ::boost::sregex_iterator;
123#ifndef BOOST_NO_WREGEX
124using ::boost::wsregex_iterator;
125#endif
126
127// [7.12.2] Class template regex_token_iterator
128using ::boost::regex_token_iterator;
129using ::boost::cregex_token_iterator;
130#ifndef BOOST_NO_WREGEX
131using ::boost::wcregex_token_iterator;
132#endif
133using ::boost::sregex_token_iterator;
134#ifndef BOOST_NO_WREGEX
135using ::boost::wsregex_token_iterator;
136#endif
137
138} } // namespaces
139
140#endif
141
142#endif
Note: See TracBrowser for help on using the repository browser.