I am attempting to use regex. Here is a quick example:

#include <regex>
...
regex myRegex("^[A-Z]*");
bool match = regex_match(string("ABCDEFGAGB"), myRegex);
...

This code compiles if I include the option -std=c++0x, but does not link. Is 
there a library that I have to specify or install?

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to