|
Boost Users : |
From: Sandeep Bantia (sandeepbantia_at_[hidden])
Date: 2006-02-07 22:22:33
Hi,
I'm new to regex. This is basically what I was trying.
#include <iostream>
#include <boost/regex.hpp>
int main()
{
std::string input = "sand._12";
boost::regex reg(".*\._[0-9]+");
......
}
I get a warning which says "Unknown escape sequence '\.' . Its the same
case with any other special character or even '\s' .
I guess I'm missing something very simple.
Any ideas ?
Thanks in advance.
-- -Sandeep.
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