sl@0: // (C) Copyright John Maddock 2005. sl@0: // Use, modification and distribution are subject to the sl@0: // Boost Software License, Version 1.0. (See accompanying file sl@0: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: #ifndef BOOST_TR1_REGEX_HPP_INCLUDED sl@0: # define BOOST_TR1_REGEX_HPP_INCLUDED sl@0: # include sl@0: sl@0: #ifdef BOOST_HAS_TR1_REGEX sl@0: sl@0: # include BOOST_TR1_HEADER(regex) sl@0: sl@0: #else sl@0: sl@0: #include sl@0: sl@0: namespace std{ namespace tr1{ sl@0: sl@0: // [7.5] Regex constants sl@0: namespace regex_constants { sl@0: sl@0: using ::boost::regex_constants::syntax_option_type; sl@0: using ::boost::regex_constants::icase; sl@0: using ::boost::regex_constants::nosubs; sl@0: using ::boost::regex_constants::optimize; sl@0: using ::boost::regex_constants::collate; sl@0: using ::boost::regex_constants::ECMAScript; sl@0: using ::boost::regex_constants::basic; sl@0: using ::boost::regex_constants::extended; sl@0: using ::boost::regex_constants::awk; sl@0: using ::boost::regex_constants::grep; sl@0: using ::boost::regex_constants::egrep; sl@0: sl@0: using ::boost::regex_constants::match_flag_type; sl@0: using ::boost::regex_constants::match_default; sl@0: using ::boost::regex_constants::match_not_bol; sl@0: using ::boost::regex_constants::match_not_eol; sl@0: using ::boost::regex_constants::match_not_bow; sl@0: using ::boost::regex_constants::match_not_eow; sl@0: using ::boost::regex_constants::match_any; sl@0: using ::boost::regex_constants::match_not_null; sl@0: using ::boost::regex_constants::match_continuous; sl@0: using ::boost::regex_constants::match_prev_avail; sl@0: using ::boost::regex_constants::format_default; sl@0: using ::boost::regex_constants::format_sed; sl@0: using ::boost::regex_constants::format_no_copy; sl@0: using ::boost::regex_constants::format_first_only; sl@0: sl@0: using ::boost::regex_constants::error_type; sl@0: using ::boost::regex_constants::error_collate; sl@0: using ::boost::regex_constants::error_ctype; sl@0: using ::boost::regex_constants::error_escape; sl@0: using ::boost::regex_constants::error_backref; sl@0: using ::boost::regex_constants::error_brack; sl@0: using ::boost::regex_constants::error_paren; sl@0: using ::boost::regex_constants::error_brace; sl@0: using ::boost::regex_constants::error_badbrace; sl@0: using ::boost::regex_constants::error_range; sl@0: using ::boost::regex_constants::error_space; sl@0: using ::boost::regex_constants::error_badrepeat; sl@0: using ::boost::regex_constants::error_complexity; sl@0: using ::boost::regex_constants::error_stack; sl@0: sl@0: } // namespace regex_constants sl@0: sl@0: // [7.6] Class regex_error sl@0: using ::boost::regex_error; sl@0: sl@0: // [7.7] Class template regex_traits sl@0: using ::boost::regex_traits; sl@0: sl@0: // [7.8] Class template basic_regex sl@0: using ::boost::basic_regex; sl@0: using ::boost::regex; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wregex; sl@0: #endif sl@0: sl@0: #if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582) sl@0: // [7.8.6] basic_regex swap sl@0: using ::boost::swap; sl@0: #endif sl@0: sl@0: // [7.9] Class template sub_match sl@0: using ::boost::sub_match; sl@0: sl@0: using ::boost::csub_match; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wcsub_match; sl@0: #endif sl@0: using ::boost::ssub_match; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wssub_match; sl@0: #endif sl@0: sl@0: // [7.10] Class template match_results sl@0: using ::boost::match_results; sl@0: using ::boost::cmatch; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wcmatch; sl@0: #endif sl@0: using ::boost::smatch; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wsmatch; sl@0: #endif sl@0: sl@0: using ::boost::regex_match; sl@0: sl@0: // [7.11.3] Function template regex_search sl@0: using ::boost::regex_search; sl@0: sl@0: // [7.11.4] Function template regex_replace sl@0: using ::boost::regex_replace; sl@0: sl@0: // [7.12.1] Class template regex_iterator sl@0: using ::boost::regex_iterator; sl@0: using ::boost::cregex_iterator; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wcregex_iterator; sl@0: #endif sl@0: using ::boost::sregex_iterator; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wsregex_iterator; sl@0: #endif sl@0: sl@0: // [7.12.2] Class template regex_token_iterator sl@0: using ::boost::regex_token_iterator; sl@0: using ::boost::cregex_token_iterator; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wcregex_token_iterator; sl@0: #endif sl@0: using ::boost::sregex_token_iterator; sl@0: #ifndef BOOST_NO_WREGEX sl@0: using ::boost::wsregex_token_iterator; sl@0: #endif sl@0: sl@0: } } // namespaces sl@0: sl@0: #endif sl@0: sl@0: #endif