
24 Nov
2008
24 Nov
'08
8:18 p.m.
On Mon, Nov 24, 2008 at 10:05 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
If you said
boost::regex r("(\s)");
then you actually mean
boost::regex r("(\\s)");
note the two backslashes--the compiler strips one of them.
Thanks for help. I am aware of this and use the second form. I investigated the problem father and found that "regex" class works, while "wregex" fails. I guess there is some issue with "locale" or something like this. I will debug this tomorrow. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/