Hey all,
I've been playing around with the boost filesystem and regex libraries. I'm coming across a really annoying bug.
This page:
http://rosettacode.org/wiki/Walk_a_directory/Recursively
Has how to walk through directories in a recursive fashion. You search down to boost and it implements a regex variable:
boost::regex pattern("a.*");
I can add this code to my project fine and it compiles.
If, however. I declare this:
boost::regex pattern("*.mpeg");
the program will build but not run.
This is the error message:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
I may be messing up the way regular expressions are used but I just want to
search for filename extensions in a program. I thought regular expressions would be great for this purpose.
Anyway, any help would be appreciated.