$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Edward Diener (eddielee_at_[hidden])
Date: 2004-07-20 20:27:24
Adam Molnar wrote:
> hi!
>
> 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.