O
oxkfame
This is the first time that I ever needed to use regex from C++, and
while boost has the library, I am at a complete loss. What am I doing
wrong?
cout << boost::regex_replace(string("[^]"),
boost::regex("\(\[\)\(\.\*\)\(\]\)"),
string("$2")) << endl;
Shouldn't it print ^ ?
I realize that I am missing something in my knowledge, I just wish I
knew what.
Thank you in advance.
while boost has the library, I am at a complete loss. What am I doing
wrong?
cout << boost::regex_replace(string("[^]"),
boost::regex("\(\[\)\(\.\*\)\(\]\)"),
string("$2")) << endl;
Shouldn't it print ^ ?
I realize that I am missing something in my knowledge, I just wish I
knew what.
Thank you in advance.