123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #ifndef BOOST_STRING_REGEX_FIND_FORMAT_HPP
- #define BOOST_STRING_REGEX_FIND_FORMAT_HPP
- #include <boost/algorithm/string/config.hpp>
- #include <boost/regex.hpp>
- #include <boost/algorithm/string/detail/finder_regex.hpp>
- #include <boost/algorithm/string/detail/formatter_regex.hpp>
- namespace boost {
- namespace algorithm {
-
-
- template<
- typename CharT,
- typename RegexTraitsT>
- inline detail::find_regexF< basic_regex<CharT, RegexTraitsT> >
- regex_finder(
- const basic_regex<CharT, RegexTraitsT>& Rx,
- match_flag_type MatchFlags=match_default )
- {
- return detail::
- find_regexF<
- basic_regex<CharT, RegexTraitsT> >( Rx, MatchFlags );
- }
-
-
- template<
- typename CharT,
- typename TraitsT, typename AllocT >
- inline detail::regex_formatF< std::basic_string< CharT, TraitsT, AllocT > >
- regex_formatter(
- const std::basic_string<CharT, TraitsT, AllocT>& Format,
- match_flag_type Flags=format_default )
- {
- return
- detail::regex_formatF< std::basic_string<CharT, TraitsT, AllocT> >(
- Format,
- Flags );
- }
- }
-
- using algorithm::regex_finder;
- using algorithm::regex_formatter;
- }
- #endif
|