$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2004-05-27 07:44:56
> this inocent code throws an exception:
>
> static const regex rpath( "Return-Path:(.*?)Received: ",
>
regex_constants::icase );
>
> according to http://www.boost.org/libs/regex/doc/syntax.html this is how
non-gready repeats are specified.
> Can anybody figure out what is wrong?
Yes, you need to tell the lib that it's a perl expression:
static const regex rpath( "Return-Path:(.*?)Received: ",
regex_constants::perl|regex_constants::icase );
John.