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