$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2006-08-30 04:27:55
kiran wrote:
> Hi,
>         I have 2 doubts
> 
>         1) Why is  regex expr("Resurfacing.*?Home",
> boost::regex::icase) getting aborted. ? 
That should be regex expr("Resurfacing.*?Home",
 boost::regex::icase | boost::regex::perl)
>         2) How to make boost regex behave like perl regex ? I mean
> "dot" in boost::regex is taking new lines as well. How to prevent
> this ?  
>             Is "boost::regex::perl" flag the answer to the question ?
Pass match_not_dot_newline to the regex-matching algorithm you're calling.
John.