]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | /* |
2 | * | |
3 | * Copyright (c) 1998-2002 | |
4 | * John Maddock | |
5 | * | |
6 | * Use, modification and distribution are subject to the | |
7 | * Boost Software License, Version 1.0. (See accompanying file | |
8 | * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
9 | * | |
10 | */ | |
11 | ||
12 | /* | |
13 | * LOCATION: see http://www.boost.org for most recent version. | |
14 | * FILE regex.cpp | |
15 | * VERSION see <boost/version.hpp> | |
16 | * DESCRIPTION: Declares boost::basic_regex<> and associated | |
17 | * functions and classes. This header is the main | |
18 | * entry point for the template regex code. | |
19 | */ | |
20 | ||
21 | #ifndef BOOST_RE_REGEX_HPP_INCLUDED | |
22 | #define BOOST_RE_REGEX_HPP_INCLUDED | |
23 | ||
24 | #ifdef __cplusplus | |
25 | ||
26 | // what follows is all C++ don't include in C builds!! | |
27 | ||
28 | #include <boost/regex/config.hpp> | |
29 | #include <boost/regex/v5/regex_workaround.hpp> | |
30 | #include <boost/regex_fwd.hpp> | |
31 | #include <boost/regex/regex_traits.hpp> | |
32 | #include <boost/regex/v5/error_type.hpp> | |
33 | #include <boost/regex/v5/match_flags.hpp> | |
34 | #include <boost/regex/v5/regex_raw_buffer.hpp> | |
35 | #include <boost/regex/pattern_except.hpp> | |
36 | #include <boost/regex/v5/char_regex_traits.hpp> | |
37 | #include <boost/regex/v5/states.hpp> | |
38 | #include <boost/regex/v5/regbase.hpp> | |
39 | #include <boost/regex/v5/basic_regex.hpp> | |
40 | #include <boost/regex/v5/basic_regex_creator.hpp> | |
41 | #include <boost/regex/v5/basic_regex_parser.hpp> | |
42 | #include <boost/regex/v5/sub_match.hpp> | |
43 | #include <boost/regex/v5/regex_format.hpp> | |
44 | #include <boost/regex/v5/match_results.hpp> | |
45 | #include <boost/regex/v5/perl_matcher.hpp> | |
46 | ||
47 | namespace boost{ | |
48 | #ifdef BOOST_REGEX_NO_FWD | |
49 | typedef basic_regex<char, regex_traits<char> > regex; | |
50 | #ifndef BOOST_NO_WREGEX | |
51 | typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex; | |
52 | #endif | |
53 | #endif | |
54 | ||
55 | typedef match_results<const char*> cmatch; | |
56 | typedef match_results<std::string::const_iterator> smatch; | |
57 | #ifndef BOOST_NO_WREGEX | |
58 | typedef match_results<const wchar_t*> wcmatch; | |
59 | typedef match_results<std::wstring::const_iterator> wsmatch; | |
60 | #endif | |
61 | ||
62 | } // namespace boost | |
63 | ||
64 | #include <boost/regex/v5/regex_match.hpp> | |
65 | #include <boost/regex/v5/regex_search.hpp> | |
66 | #include <boost/regex/v5/regex_iterator.hpp> | |
67 | #include <boost/regex/v5/regex_token_iterator.hpp> | |
68 | #include <boost/regex/v5/regex_grep.hpp> | |
69 | #include <boost/regex/v5/regex_replace.hpp> | |
70 | #include <boost/regex/v5/regex_merge.hpp> | |
71 | #include <boost/regex/v5/regex_split.hpp> | |
72 | ||
73 | #endif // __cplusplus | |
74 | ||
75 | #endif // include | |
76 | ||
77 | ||
78 | ||
79 | ||
80 | ||
81 | ||
82 | ||
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 |