19 #ifndef __libpbd_match_h__
20 #define __libpbd_match_h__
23 #include <boost/tokenizer.hpp>
30 boost::char_separator<char> sep (
" ");
31 typedef boost::tokenizer<boost::char_separator<char> > tokenizer;
32 tokenizer t (needle, sep);
34 for (tokenizer::iterator ti = t.begin (); ti != t.end (); ++ti) {
35 if (haystack.find (*ti) == std::string::npos) {
static bool match_search_strings(std::string const &haystack, std::string const &needle)