|
Boost Users : |
From: Adam Molnar (ed_at_[hidden])
Date: 2004-07-21 05:50:54
> > using the latest regex patch and vc7.1 i've accidentally encountered
> > the following:
> >
> > ...
> > regex re("([^\n]*\\n+\\s+)+NEEDEDSUBITEM2:[^\\s]");
> > bool matched = regex_search(text, re); // bad_expression
>
> You are putting a new-line character in your regular expression, "([^\n".
> Perhaps that is causing your problem.
no, that's just a typo. the same with "\\n"
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