Index: boost/algorithm/string/regex.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/algorithm/string/regex.hpp,v retrieving revision 1.6 diff -u -p -r1.6 regex.hpp --- boost/algorithm/string/regex.hpp 16 Jul 2004 09:05:43 -0000 1.6 +++ boost/algorithm/string/regex.hpp 17 Jan 2005 11:38:20 -0000 @@ -46,12 +46,12 @@ namespace boost { template< typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT> + typename RegexTraitsT> inline iterator_range< BOOST_STRING_TYPENAME result_iterator_of::type > find_regex( CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return regex_finder(Rx,Flags)( @@ -81,12 +81,12 @@ namespace boost { typename OutputIteratorT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline OutputIteratorT replace_regex_copy( OutputIteratorT Output, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -104,11 +104,11 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline SequenceT replace_regex_copy( const SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -131,11 +131,11 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline void replace_regex( SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -167,12 +167,12 @@ namespace boost { typename OutputIteratorT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline OutputIteratorT replace_all_regex_copy( OutputIteratorT Output, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -190,11 +190,11 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline SequenceT replace_all_regex_copy( const SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -217,11 +217,11 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT, + typename RegexTraitsT, typename FormatStringTraitsT, typename FormatStringAllocatorT > inline void replace_all_regex( SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, const std::basic_string& Format, match_flag_type Flags=match_default | format_default ) { @@ -252,11 +252,11 @@ namespace boost { typename OutputIteratorT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline OutputIteratorT erase_regex_copy( OutputIteratorT Output, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return find_format_copy( @@ -273,10 +273,10 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline SequenceT erase_regex_copy( const SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return find_format_copy( @@ -297,10 +297,10 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline void erase_regex( SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { find_format( @@ -331,11 +331,11 @@ namespace boost { typename OutputIteratorT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline OutputIteratorT erase_all_regex_copy( OutputIteratorT Output, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return find_format_all_copy( @@ -352,10 +352,10 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline SequenceT erase_all_regex_copy( const SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return find_format_all_copy( @@ -376,10 +376,10 @@ namespace boost { template< typename SequenceT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT> + typename RegexTraitsT> inline void erase_all_regex( SequenceT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { find_format_all( @@ -416,11 +416,11 @@ namespace boost { typename SequenceSequenceT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline SequenceSequenceT& find_all_regex( SequenceSequenceT& Result, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return iter_find( @@ -457,11 +457,11 @@ namespace boost { typename SequenceSequenceT, typename CollectionT, typename CharT, - typename RegexTraitsT, typename RegexAllocatorT > + typename RegexTraitsT> inline SequenceSequenceT& split_regex( SequenceSequenceT& Result, const CollectionT& Input, - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type Flags=match_default ) { return iter_split( Index: boost/algorithm/string/regex_find_format.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/algorithm/string/regex_find_format.hpp,v retrieving revision 1.3 diff -u -p -r1.3 regex_find_format.hpp --- boost/algorithm/string/regex_find_format.hpp 26 Oct 2004 21:41:00 -0000 1.3 +++ boost/algorithm/string/regex_find_format.hpp 17 Jan 2005 11:38:20 -0000 @@ -40,15 +40,15 @@ namespace boost { */ template< typename CharT, - typename RegexTraitsT, typename RegexAllocatorT> - inline detail::find_regexF< reg_expression > + typename RegexTraitsT> + inline detail::find_regexF< basic_regex > regex_finder( - const reg_expression& Rx, + const basic_regex& Rx, match_flag_type MatchFlags=match_default ) { return detail:: find_regexF< - reg_expression >( Rx, MatchFlags ); + basic_regex >( Rx, MatchFlags ); } // regex_formater ---------------------------------------------//