| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | //  Boost string_algo library finder.hpp header file  ---------------------------//
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-27 10:27:37 +00:00
										 |  |  | //  Copyright Pavol Droba 2002-2006.
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | // Distributed under 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)
 | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-27 10:27:37 +00:00
										 |  |  | //  See http://www.boost.org/ for updates, documentation, and revision history.
 | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifndef BOOST_STRING_FINDER_HPP
 | 
					
						
							|  |  |  | #define BOOST_STRING_FINDER_HPP
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <boost/algorithm/string/config.hpp>
 | 
					
						
							| 
									
										
										
										
											2005-01-21 16:45:29 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include <boost/range/iterator_range.hpp>
 | 
					
						
							|  |  |  | #include <boost/range/begin.hpp>
 | 
					
						
							|  |  |  | #include <boost/range/end.hpp>
 | 
					
						
							|  |  |  | #include <boost/range/iterator.hpp>
 | 
					
						
							|  |  |  | #include <boost/range/const_iterator.hpp>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | #include <boost/algorithm/string/constants.hpp>
 | 
					
						
							|  |  |  | #include <boost/algorithm/string/detail/finder.hpp>
 | 
					
						
							|  |  |  | #include <boost/algorithm/string/compare.hpp>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*! \file
 | 
					
						
							|  |  |  |     Defines Finder generators. Finder object is a functor which is able to  | 
					
						
							| 
									
										
										
										
											2004-07-14 22:24:12 +00:00
										 |  |  |     find a substring matching a specific criteria in the input. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |     Finders are used as a pluggable components for replace, find  | 
					
						
							|  |  |  |     and split facilities. This header contains generator functions  | 
					
						
							|  |  |  |     for finders provided in this library. | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace boost { | 
					
						
							|  |  |  |     namespace algorithm { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | //  Finder generators ------------------------------------------//
 | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         //! "First" finder 
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c first_finder. The finder searches for the first | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             occurrence of the string in a given input. | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             \param Search A substring to be searched for. | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \param Comp An element comparison predicate | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \return An instance of the \c first_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::first_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             is_equal> | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         first_finder( const RangeT& Search ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::first_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     is_equal>( as_literal(Search), is_equal() ) ; | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "First" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \overload | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT,typename PredicateT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::first_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             PredicateT> | 
					
						
							|  |  |  |         first_finder(  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             const RangeT& Search, PredicateT Comp ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::first_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     PredicateT>( as_literal(Search), Comp ); | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Last" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c last_finder. The finder searches for the last | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             occurrence of the string in a given input. | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             \param Search A substring to be searched for. | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \param Comp An element comparison predicate | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \return An instance of the \c last_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::last_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             is_equal> | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         last_finder( const RangeT& Search ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::last_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     is_equal>( as_literal(Search), is_equal() ); | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  |         //! "Last" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \overload | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT, typename PredicateT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::last_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             PredicateT> | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         last_finder( const RangeT& Search, PredicateT Comp ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::last_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     PredicateT>( as_literal(Search), Comp ) ; | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Nth" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             Construct the \c nth_finder. The finder searches for the n-th (zero-indexed) | 
					
						
							|  |  |  |             occurrence of the string in a given input. | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             \param Search A substring to be searched for. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \param Nth An index of the match to be find | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \param Comp An element comparison predicate | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \return An instance of the \c nth_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::nth_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             is_equal> | 
					
						
							|  |  |  |         nth_finder(  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             const RangeT& Search,  | 
					
						
							| 
									
										
										
										
											2006-01-31 12:36:32 +00:00
										 |  |  |             int Nth) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::nth_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     is_equal>( as_literal(Search), Nth, is_equal() ) ; | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  |         //! "Nth" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \overload | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         */ | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |         template<typename RangeT, typename PredicateT> | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         inline detail::nth_finderF< | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type, | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             PredicateT> | 
					
						
							|  |  |  |         nth_finder(  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |             const RangeT& Search,  | 
					
						
							| 
									
										
										
										
											2006-01-31 12:36:32 +00:00
										 |  |  |             int Nth,  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             PredicateT Comp ) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return  | 
					
						
							|  |  |  |                 detail::nth_finderF< | 
					
						
							|  |  |  |                     BOOST_STRING_TYPENAME  | 
					
						
							| 
									
										
										
										
											2007-07-01 22:23:55 +00:00
										 |  |  |                         range_const_iterator<RangeT>::type, | 
					
						
							|  |  |  |                     PredicateT>( as_literal(Search), Nth, Comp ); | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Head" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c head_finder. The finder returns a head of a given | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             input. The head is a prefix of a string up to n elements in | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             size. If an input has less then n elements, whole input is  | 
					
						
							|  |  |  |             considered a head. | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |             \param N The size of the head | 
					
						
							|  |  |  |             \return An instance of the \c head_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							|  |  |  |         inline detail::head_finderF | 
					
						
							| 
									
										
										
										
											2006-01-31 12:36:32 +00:00
										 |  |  |         head_finder( int N ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return detail::head_finderF(N); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |         //! "Tail" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c tail_finder. The finder returns a tail of a given | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             input. The tail is a suffix of a string up to n elements in | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             size. If an input has less then n elements, whole input is  | 
					
						
							|  |  |  |             considered a head. | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |             \param N The size of the head | 
					
						
							|  |  |  |             \return An instance of the \c tail_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							|  |  |  |         inline detail::tail_finderF | 
					
						
							| 
									
										
										
										
											2006-01-31 12:36:32 +00:00
										 |  |  |         tail_finder( int N ) | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |         { | 
					
						
							|  |  |  |             return detail::tail_finderF(N); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Token" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c token_finder. The finder searches for a token  | 
					
						
							|  |  |  |             specified by a predicate. It is similar to std::find_if  | 
					
						
							|  |  |  |             algorithm, with an exception that it return a range of | 
					
						
							|  |  |  |             instead of a single iterator. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             If "compress token mode" is enabled, adjacent matching tokens are  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             concatenated into one match. Thus the finder can be used to  | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             search for continuous segments of characters satisfying the  | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             given predicate. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-07-15 21:48:25 +00:00
										 |  |  |             The result is given as an \c iterator_range delimiting the match. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |             \param Pred An element selection predicate | 
					
						
							|  |  |  |             \param eCompress Compress flag | 
					
						
							|  |  |  |             \return An instance of the \c token_finder object | 
					
						
							|  |  |  |         */ | 
					
						
							|  |  |  |         template< typename PredicateT > | 
					
						
							|  |  |  |         inline detail::token_finderF<PredicateT> | 
					
						
							|  |  |  |         token_finder(  | 
					
						
							|  |  |  |             PredicateT Pred,  | 
					
						
							|  |  |  |             token_compress_mode_type eCompress=token_compress_off ) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return detail::token_finderF<PredicateT>( Pred, eCompress ); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Range" finder
 | 
					
						
							|  |  |  |         /*!
 | 
					
						
							|  |  |  |             Construct the \c range_finder. The finder does not perform  | 
					
						
							|  |  |  |             any operation. It simply returns the given range for  | 
					
						
							|  |  |  |             any input.  | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             \param Begin Beginning of the range | 
					
						
							|  |  |  |             \param End End of the range | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |             \param Range The range. | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \return An instance of the \c range_finger object | 
					
						
							|  |  |  |         */ | 
					
						
							|  |  |  |         template< typename ForwardIteratorT > | 
					
						
							|  |  |  |         inline detail::range_finderF<ForwardIteratorT> | 
					
						
							|  |  |  |         range_finder( | 
					
						
							|  |  |  |             ForwardIteratorT Begin, | 
					
						
							|  |  |  |             ForwardIteratorT End ) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return detail::range_finderF<ForwardIteratorT>( Begin, End ); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         //! "Range" finder
 | 
					
						
							| 
									
										
										
										
											2004-07-11 22:07:00 +00:00
										 |  |  |         /*!       
 | 
					
						
							| 
									
										
										
										
											2004-03-04 22:12:19 +00:00
										 |  |  |             \overload | 
					
						
							|  |  |  |         */ | 
					
						
							|  |  |  |         template< typename ForwardIteratorT > | 
					
						
							|  |  |  |         inline detail::range_finderF<ForwardIteratorT> | 
					
						
							|  |  |  |         range_finder( iterator_range<ForwardIteratorT> Range ) | 
					
						
							|  |  |  |         { | 
					
						
							|  |  |  |             return detail::range_finderF<ForwardIteratorT>( Range ); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     } // namespace algorithm
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // pull the names to the boost namespace
 | 
					
						
							|  |  |  |     using algorithm::first_finder; | 
					
						
							|  |  |  |     using algorithm::last_finder; | 
					
						
							|  |  |  |     using algorithm::nth_finder; | 
					
						
							|  |  |  |     using algorithm::head_finder; | 
					
						
							|  |  |  |     using algorithm::tail_finder; | 
					
						
							|  |  |  |     using algorithm::token_finder; | 
					
						
							|  |  |  |     using algorithm::range_finder; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } // namespace boost
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif  // BOOST_STRING_FINDER_HPP
 |