Boost logo

Boost Users :

From: John Maddock (john_maddock_at_[hidden])
Date: 2003-07-24 06:07:35


> Hello,
> The next few lines doesn't work (1) with \s. But (2) works well
[[:space:]]

If you want regex to see the escape within a string literal then remember
that the C++ front end will process the escape sequence first, so you need
"\\s".

John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net