annotate DEPENDENCIES/generic/include/boost/regex/v4/regex.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 /*
Chris@16 2 *
Chris@16 3 * Copyright (c) 1998-2002
Chris@16 4 * John Maddock
Chris@16 5 *
Chris@16 6 * Use, modification and distribution are subject to the
Chris@16 7 * Boost Software License, Version 1.0. (See accompanying file
Chris@16 8 * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 9 *
Chris@16 10 */
Chris@16 11
Chris@16 12 /*
Chris@16 13 * LOCATION: see http://www.boost.org for most recent version.
Chris@16 14 * FILE regex.cpp
Chris@16 15 * VERSION see <boost/version.hpp>
Chris@16 16 * DESCRIPTION: Declares boost::basic_regex<> and associated
Chris@16 17 * functions and classes. This header is the main
Chris@16 18 * entry point for the template regex code.
Chris@16 19 */
Chris@16 20
Chris@16 21 #ifndef BOOST_RE_REGEX_HPP_INCLUDED
Chris@16 22 #define BOOST_RE_REGEX_HPP_INCLUDED
Chris@16 23
Chris@16 24 #ifdef __cplusplus
Chris@16 25
Chris@16 26 // what follows is all C++ don't include in C builds!!
Chris@16 27
Chris@16 28 #ifndef BOOST_REGEX_CONFIG_HPP
Chris@16 29 #include <boost/regex/config.hpp>
Chris@16 30 #endif
Chris@16 31 #ifndef BOOST_REGEX_WORKAROUND_HPP
Chris@16 32 #include <boost/regex/v4/regex_workaround.hpp>
Chris@16 33 #endif
Chris@16 34
Chris@16 35 #ifndef BOOST_REGEX_FWD_HPP
Chris@16 36 #include <boost/regex_fwd.hpp>
Chris@16 37 #endif
Chris@16 38 #ifndef BOOST_REGEX_TRAITS_HPP
Chris@16 39 #include <boost/regex/regex_traits.hpp>
Chris@16 40 #endif
Chris@16 41 #ifndef BOOST_REGEX_RAW_BUFFER_HPP
Chris@16 42 #include <boost/regex/v4/error_type.hpp>
Chris@16 43 #endif
Chris@16 44 #ifndef BOOST_REGEX_V4_MATCH_FLAGS
Chris@16 45 #include <boost/regex/v4/match_flags.hpp>
Chris@16 46 #endif
Chris@16 47 #ifndef BOOST_REGEX_RAW_BUFFER_HPP
Chris@16 48 #include <boost/regex/v4/regex_raw_buffer.hpp>
Chris@16 49 #endif
Chris@16 50 #ifndef BOOST_RE_PAT_EXCEPT_HPP
Chris@16 51 #include <boost/regex/pattern_except.hpp>
Chris@16 52 #endif
Chris@16 53
Chris@16 54 #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
Chris@16 55 #include <boost/regex/v4/char_regex_traits.hpp>
Chris@16 56 #endif
Chris@16 57 #ifndef BOOST_REGEX_V4_STATES_HPP
Chris@16 58 #include <boost/regex/v4/states.hpp>
Chris@16 59 #endif
Chris@16 60 #ifndef BOOST_REGEX_V4_REGBASE_HPP
Chris@16 61 #include <boost/regex/v4/regbase.hpp>
Chris@16 62 #endif
Chris@16 63 #ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
Chris@16 64 #include <boost/regex/v4/iterator_traits.hpp>
Chris@16 65 #endif
Chris@16 66 #ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP
Chris@16 67 #include <boost/regex/v4/basic_regex.hpp>
Chris@16 68 #endif
Chris@16 69 #ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
Chris@16 70 #include <boost/regex/v4/basic_regex_creator.hpp>
Chris@16 71 #endif
Chris@16 72 #ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
Chris@16 73 #include <boost/regex/v4/basic_regex_parser.hpp>
Chris@16 74 #endif
Chris@16 75 #ifndef BOOST_REGEX_V4_SUB_MATCH_HPP
Chris@16 76 #include <boost/regex/v4/sub_match.hpp>
Chris@16 77 #endif
Chris@16 78 #ifndef BOOST_REGEX_FORMAT_HPP
Chris@16 79 #include <boost/regex/v4/regex_format.hpp>
Chris@16 80 #endif
Chris@16 81 #ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP
Chris@16 82 #include <boost/regex/v4/match_results.hpp>
Chris@16 83 #endif
Chris@16 84 #ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP
Chris@16 85 #include <boost/regex/v4/protected_call.hpp>
Chris@16 86 #endif
Chris@16 87 #ifndef BOOST_REGEX_MATCHER_HPP
Chris@16 88 #include <boost/regex/v4/perl_matcher.hpp>
Chris@16 89 #endif
Chris@16 90 //
Chris@16 91 // template instances:
Chris@16 92 //
Chris@16 93 #define BOOST_REGEX_CHAR_T char
Chris@16 94 #ifdef BOOST_REGEX_NARROW_INSTANTIATE
Chris@16 95 # define BOOST_REGEX_INSTANTIATE
Chris@16 96 #endif
Chris@16 97 #include <boost/regex/v4/instances.hpp>
Chris@16 98 #undef BOOST_REGEX_CHAR_T
Chris@16 99 #ifdef BOOST_REGEX_INSTANTIATE
Chris@16 100 # undef BOOST_REGEX_INSTANTIATE
Chris@16 101 #endif
Chris@16 102
Chris@16 103 #ifndef BOOST_NO_WREGEX
Chris@16 104 #define BOOST_REGEX_CHAR_T wchar_t
Chris@16 105 #ifdef BOOST_REGEX_WIDE_INSTANTIATE
Chris@16 106 # define BOOST_REGEX_INSTANTIATE
Chris@16 107 #endif
Chris@16 108 #include <boost/regex/v4/instances.hpp>
Chris@16 109 #undef BOOST_REGEX_CHAR_T
Chris@16 110 #ifdef BOOST_REGEX_INSTANTIATE
Chris@16 111 # undef BOOST_REGEX_INSTANTIATE
Chris@16 112 #endif
Chris@16 113 #endif
Chris@16 114
Chris@16 115 #if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T)
Chris@16 116 #define BOOST_REGEX_CHAR_T unsigned short
Chris@16 117 #ifdef BOOST_REGEX_US_INSTANTIATE
Chris@16 118 # define BOOST_REGEX_INSTANTIATE
Chris@16 119 #endif
Chris@16 120 #include <boost/regex/v4/instances.hpp>
Chris@16 121 #undef BOOST_REGEX_CHAR_T
Chris@16 122 #ifdef BOOST_REGEX_INSTANTIATE
Chris@16 123 # undef BOOST_REGEX_INSTANTIATE
Chris@16 124 #endif
Chris@16 125 #endif
Chris@16 126
Chris@16 127
Chris@16 128 namespace boost{
Chris@16 129 #ifdef BOOST_REGEX_NO_FWD
Chris@16 130 typedef basic_regex<char, regex_traits<char> > regex;
Chris@16 131 #ifndef BOOST_NO_WREGEX
Chris@16 132 typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex;
Chris@16 133 #endif
Chris@16 134 #endif
Chris@16 135
Chris@16 136 typedef match_results<const char*> cmatch;
Chris@16 137 typedef match_results<std::string::const_iterator> smatch;
Chris@16 138 #ifndef BOOST_NO_WREGEX
Chris@16 139 typedef match_results<const wchar_t*> wcmatch;
Chris@16 140 typedef match_results<std::wstring::const_iterator> wsmatch;
Chris@16 141 #endif
Chris@16 142
Chris@16 143 } // namespace boost
Chris@16 144 #ifndef BOOST_REGEX_MATCH_HPP
Chris@16 145 #include <boost/regex/v4/regex_match.hpp>
Chris@16 146 #endif
Chris@16 147 #ifndef BOOST_REGEX_V4_REGEX_SEARCH_HPP
Chris@16 148 #include <boost/regex/v4/regex_search.hpp>
Chris@16 149 #endif
Chris@16 150 #ifndef BOOST_REGEX_ITERATOR_HPP
Chris@16 151 #include <boost/regex/v4/regex_iterator.hpp>
Chris@16 152 #endif
Chris@16 153 #ifndef BOOST_REGEX_TOKEN_ITERATOR_HPP
Chris@16 154 #include <boost/regex/v4/regex_token_iterator.hpp>
Chris@16 155 #endif
Chris@16 156 #ifndef BOOST_REGEX_V4_REGEX_GREP_HPP
Chris@16 157 #include <boost/regex/v4/regex_grep.hpp>
Chris@16 158 #endif
Chris@16 159 #ifndef BOOST_REGEX_V4_REGEX_REPLACE_HPP
Chris@16 160 #include <boost/regex/v4/regex_replace.hpp>
Chris@16 161 #endif
Chris@16 162 #ifndef BOOST_REGEX_V4_REGEX_MERGE_HPP
Chris@16 163 #include <boost/regex/v4/regex_merge.hpp>
Chris@16 164 #endif
Chris@16 165 #ifndef BOOST_REGEX_SPLIT_HPP
Chris@16 166 #include <boost/regex/v4/regex_split.hpp>
Chris@16 167 #endif
Chris@16 168
Chris@16 169 #endif // __cplusplus
Chris@16 170
Chris@16 171 #endif // include
Chris@16 172
Chris@16 173
Chris@16 174
Chris@16 175
Chris@16 176
Chris@16 177
Chris@16 178
Chris@16 179
Chris@16 180
Chris@16 181
Chris@16 182
Chris@16 183
Chris@16 184
Chris@16 185
Chris@16 186
Chris@16 187
Chris@16 188
Chris@16 189
Chris@16 190
Chris@16 191
Chris@16 192
Chris@16 193
Chris@16 194
Chris@16 195
Chris@16 196
Chris@16 197
Chris@16 198
Chris@16 199
Chris@16 200
Chris@16 201
Chris@16 202