Cheers. I was rather hoping not to have to use regular expressions;
they're kinda beyond the intended users of my program (it's for a
user-defined filter function, and I don't expect them to be familiar
with regex syntax).
I cheaped out and used an old C wildcmp(wild.c_str(), text.c_str())
method instead.
Thanks,
Richard
On 9/8/06, Pavol Droba
François Duranleau wrote:
On Thu, 7 Sep 2006, Richard Dingwall wrote:
I was wondering if boost string algorithms library has any support for "wildcard" characters (eg * and ?).
If not... then I'm open to suggestions :)
How about using Boost.Regex?
yes, that`s definitely the way to go. If you like string algo interface, check algorithm/string/regex.hpp header. It contains string_algo wrappers for the regex functionality.
Regards, Pavol.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users