
15 Mar
2011
15 Mar
'11
1:21 p.m.
On Tue, Mar 15, 2011 at 1:06 PM, Roman Perepelitsa
2011/3/15 Subhash Nagre
Hello, I have a string "(123) Hello" and I want to seach String (123) using boost::regex, Also I needed to do a full word search, so I added \b in the end. Here is my code
std::string searchWord = "(123)";
Try "\\(123\\)". Roman Perepelitsa. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
std::string searchWord = "(\\N{left-parenthesis}123\\N{right-parenthesis})"; // searchWord += "\\b"; // Step 1