Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Header <boost/xpressive/regex_algorithms.hpp>

Contains the regex_match(), regex_search() and regex_replace() algorithms.

namespace boost {
  namespace xpressive {
    template<typename OtherBidiIter, typename BidiIter> 
      bool regex_match(OtherBidiIter, OtherBidiIter, 
                       match_results< BidiIter > &, 
                       basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default);
    template<typename OtherBidiIter, typename BidiIter> 
      bool regex_match(OtherBidiIter, OtherBidiIter, 
                       basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default);
    template<typename Char> 
      bool regex_match(Char *, match_results< Char * > &, 
                       basic_regex< Char * > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default);
    template<typename BidiRange, typename BidiIter> 
      bool regex_match(BidiRange &, match_results< BidiIter > &, 
                       basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default, 
                       typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename BidiRange, typename BidiIter> 
      bool regex_match(BidiRange const &, match_results< BidiIter > &, 
                       basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default, 
                       typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename Char> 
      bool regex_match(Char *, basic_regex< Char * > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default);
    template<typename BidiRange, typename BidiIter> 
      bool regex_match(BidiRange &, basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default, 
                       typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename BidiRange, typename BidiIter> 
      bool regex_match(BidiRange const &, basic_regex< BidiIter > const &, 
                       regex_constants::match_flag_type = regex_constants::match_default, 
                       typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename OtherBidiIter, typename BidiIter> 
      bool regex_search(OtherBidiIter, OtherBidiIter, 
                        match_results< BidiIter > &, 
                        basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default);
    template<typename OtherBidiIter, typename BidiIter> 
      bool regex_search(OtherBidiIter, OtherBidiIter, 
                        basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default);
    template<typename Char> 
      bool regex_search(Char *, match_results< Char * > &, 
                        basic_regex< Char * > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default);
    template<typename BidiRange, typename BidiIter> 
      bool regex_search(BidiRange &, match_results< BidiIter > &, 
                        basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default, 
                        typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename BidiRange, typename BidiIter> 
      bool regex_search(BidiRange const &, match_results< BidiIter > &, 
                        basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default, 
                        typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename Char> 
      bool regex_search(Char *, basic_regex< Char * > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default);
    template<typename BidiRange, typename BidiIter> 
      bool regex_search(BidiRange &, basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default, 
                        typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename BidiRange, typename BidiIter> 
      bool regex_search(BidiRange const &, basic_regex< BidiIter > const &, 
                        regex_constants::match_flag_type = regex_constants::match_default, 
                        typename disable_if< is_pointer< BidiRange > >::type * = 0);
    template<typename OutIter, typename OtherBidiIter, typename BidiIter> 
      OutIter regex_replace(OutIter, OtherBidiIter, OtherBidiIter, 
                            basic_regex< BidiIter > const &, 
                            std::basic_string< typename iterator_value< BidiIter >::type > const &, 
                            regex_constants::match_flag_type = regex_constants::match_default);
    template<typename Char> 
      std::basic_string< Char > 
      regex_replace(std::basic_string< Char > const &, 
                    basic_regex< typename std::basic_string< Char >::const_iterator > const &, 
                    std::basic_string< Char > const &, 
                    regex_constants::match_flag_type = regex_constants::match_default);
  }
}
Copyright © 2007 Eric Niebler

PrevUpHomeNext