123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- /*
- *
- * Copyright (c) 1998-2002
- * John Maddock
- *
- * Use, modification and distribution are subject to the
- * Boost Software License, Version 1.0. (See accompanying file
- * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- *
- */
- /*
- * LOCATION: see http://www.boost.org for most recent version.
- * FILE regex.cpp
- * VERSION see <boost/version.hpp>
- * DESCRIPTION: Declares boost::basic_regex<> and associated
- * functions and classes. This header is the main
- * entry point for the template regex code.
- */
- #ifndef BOOST_RE_REGEX_HPP_INCLUDED
- #define BOOST_RE_REGEX_HPP_INCLUDED
- #ifdef __cplusplus
- // what follows is all C++ don't include in C builds!!
- #ifndef BOOST_REGEX_CONFIG_HPP
- #include <boost/regex/config.hpp>
- #endif
- #ifndef BOOST_REGEX_WORKAROUND_HPP
- #include <boost/regex/v4/regex_workaround.hpp>
- #endif
- #ifndef BOOST_REGEX_FWD_HPP
- #include <boost/regex_fwd.hpp>
- #endif
- #ifndef BOOST_REGEX_TRAITS_HPP
- #include <boost/regex/regex_traits.hpp>
- #endif
- #ifndef BOOST_REGEX_RAW_BUFFER_HPP
- #include <boost/regex/v4/error_type.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_MATCH_FLAGS
- #include <boost/regex/v4/match_flags.hpp>
- #endif
- #ifndef BOOST_REGEX_RAW_BUFFER_HPP
- #include <boost/regex/v4/regex_raw_buffer.hpp>
- #endif
- #ifndef BOOST_RE_PAT_EXCEPT_HPP
- #include <boost/regex/pattern_except.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
- #include <boost/regex/v4/char_regex_traits.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_STATES_HPP
- #include <boost/regex/v4/states.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_REGBASE_HPP
- #include <boost/regex/v4/regbase.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
- #include <boost/regex/v4/iterator_traits.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP
- #include <boost/regex/v4/basic_regex.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
- #include <boost/regex/v4/basic_regex_creator.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
- #include <boost/regex/v4/basic_regex_parser.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_SUB_MATCH_HPP
- #include <boost/regex/v4/sub_match.hpp>
- #endif
- #ifndef BOOST_REGEX_FORMAT_HPP
- #include <boost/regex/v4/regex_format.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP
- #include <boost/regex/v4/match_results.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP
- #include <boost/regex/v4/protected_call.hpp>
- #endif
- #ifndef BOOST_REGEX_MATCHER_HPP
- #include <boost/regex/v4/perl_matcher.hpp>
- #endif
- namespace boost{
- #ifdef BOOST_REGEX_NO_FWD
- typedef basic_regex<char, regex_traits<char> > regex;
- #ifndef BOOST_NO_WREGEX
- typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex;
- #endif
- #endif
- typedef match_results<const char*> cmatch;
- typedef match_results<std::string::const_iterator> smatch;
- #ifndef BOOST_NO_WREGEX
- typedef match_results<const wchar_t*> wcmatch;
- typedef match_results<std::wstring::const_iterator> wsmatch;
- #endif
- } // namespace boost
- #ifndef BOOST_REGEX_MATCH_HPP
- #include <boost/regex/v4/regex_match.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_REGEX_SEARCH_HPP
- #include <boost/regex/v4/regex_search.hpp>
- #endif
- #ifndef BOOST_REGEX_ITERATOR_HPP
- #include <boost/regex/v4/regex_iterator.hpp>
- #endif
- #ifndef BOOST_REGEX_TOKEN_ITERATOR_HPP
- #include <boost/regex/v4/regex_token_iterator.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_REGEX_GREP_HPP
- #include <boost/regex/v4/regex_grep.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_REGEX_REPLACE_HPP
- #include <boost/regex/v4/regex_replace.hpp>
- #endif
- #ifndef BOOST_REGEX_V4_REGEX_MERGE_HPP
- #include <boost/regex/v4/regex_merge.hpp>
- #endif
- #ifndef BOOST_REGEX_SPLIT_HPP
- #include <boost/regex/v4/regex_split.hpp>
- #endif
- #endif // __cplusplus
- #endif // include
|