sl@0: /* sl@0: * sl@0: * Copyright (c) 1998-2002 sl@0: * John Maddock sl@0: * 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: */ sl@0: sl@0: /* sl@0: * LOCATION: see http://www.boost.org for most recent version. sl@0: * FILE regex.cpp sl@0: * VERSION see sl@0: * DESCRIPTION: Declares boost::basic_regex<> and associated sl@0: * functions and classes. This header is the main sl@0: * entry point for the template regex code. sl@0: */ sl@0: sl@0: #ifndef BOOST_RE_REGEX_HPP_INCLUDED sl@0: #define BOOST_RE_REGEX_HPP_INCLUDED sl@0: sl@0: #ifdef __cplusplus sl@0: sl@0: // what follows is all C++ don't include in C builds!! sl@0: sl@0: #ifndef BOOST_REGEX_CONFIG_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_WORKAROUND_HPP sl@0: #include sl@0: #endif sl@0: sl@0: #ifndef BOOST_REGEX_FWD_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_TRAITS_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_RAW_BUFFER_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_MATCH_FLAGS sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_RAW_BUFFER_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_RE_PAT_EXCEPT_HPP sl@0: #include sl@0: #endif sl@0: sl@0: #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_STATES_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_REGBASE_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_SUB_MATCH_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_FORMAT_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_MATCHER_HPP sl@0: #include sl@0: #endif sl@0: // sl@0: // template instances: sl@0: // sl@0: #define BOOST_REGEX_CHAR_T char sl@0: #ifdef BOOST_REGEX_NARROW_INSTANTIATE sl@0: # define BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: #include sl@0: #undef BOOST_REGEX_CHAR_T sl@0: #ifdef BOOST_REGEX_INSTANTIATE sl@0: # undef BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: sl@0: #ifndef BOOST_NO_WREGEX sl@0: #define BOOST_REGEX_CHAR_T wchar_t sl@0: #ifdef BOOST_REGEX_WIDE_INSTANTIATE sl@0: # define BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: #include sl@0: #undef BOOST_REGEX_CHAR_T sl@0: #ifdef BOOST_REGEX_INSTANTIATE sl@0: # undef BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: #endif sl@0: sl@0: #if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T) sl@0: #define BOOST_REGEX_CHAR_T unsigned short sl@0: #ifdef BOOST_REGEX_US_INSTANTIATE sl@0: # define BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: #include sl@0: #undef BOOST_REGEX_CHAR_T sl@0: #ifdef BOOST_REGEX_INSTANTIATE sl@0: # undef BOOST_REGEX_INSTANTIATE sl@0: #endif sl@0: #endif sl@0: sl@0: sl@0: namespace boost{ sl@0: #ifdef BOOST_REGEX_NO_FWD sl@0: typedef basic_regex > regex; sl@0: #ifndef BOOST_NO_WREGEX sl@0: typedef basic_regex > wregex; sl@0: #endif sl@0: #endif sl@0: sl@0: typedef match_results cmatch; sl@0: typedef match_results smatch; sl@0: #ifndef BOOST_NO_WREGEX sl@0: typedef match_results wcmatch; sl@0: typedef match_results wsmatch; sl@0: #endif sl@0: sl@0: } // namespace boost sl@0: #ifndef BOOST_REGEX_MATCH_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_REGEX_SEARCH_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_ITERATOR_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_TOKEN_ITERATOR_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_REGEX_GREP_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_REGEX_REPLACE_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_V4_REGEX_MERGE_HPP sl@0: #include sl@0: #endif sl@0: #ifndef BOOST_REGEX_SPLIT_HPP sl@0: #include sl@0: #endif sl@0: sl@0: #endif // __cplusplus sl@0: sl@0: #endif // include sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: