Hello guys,
is there a standard library in VS for using regular expressions?i know unix has regexec, i am trying to find something which is as close to this as possible
thanks
Hello guys,
is there a standard library in VS for using regular expressions?i know unix has regexec, i am trying to find something which is as close to this as possible
thanks
If you are using Visual Studio 2008 or 2010, you should be able to use the regular expression functionality in the TR1 extensions to the standard library, i.e., #include <regex> and use std::tr1::regex.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
hello there, thanks for your reply, i have done what you said and it works, i jsut have one question.
in unix you do a regcomp before doing a regexec, but it seems as though the equivalent on windows is just simply calling regex_search, am i correct or have i misunderstood something?