Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2005-01-19 15:09:57


Am I required to use regex_finder to replace repeated chars with a single instance? I'm trying to cleanup a string for use with filesystem::path, for example:

C:\\abc///def\\ghi => C:\abc\def\ghi

There may be mixed forward and back-slashes. These are from environment variables that apparently are required by our use of NutCracker to support legacy apps under windows.

If I need to use regex_finder what are the benefits of the string_algo versus just using the regex library?

Thanks, Jeff



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net