[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] regex question
From:       "John Maddock" <john () johnmaddock ! co ! uk>
Date:       2003-11-24 13:34:59
Message-ID: 002001c3b28f$cc3ad120$1ae86b51 () fuji
[Download RAW message or body]

> string match(string(what[5].first, what[5].second) +
std::string(what[6].first, what[6].second));
>   cout << "Found '" << match << "'\n";
> However, this is outputing nothing.  I also tried what.str(), but that
> gave me nothing too.

Your code is outputting $5+$6, but there aren't 6 marked sub-expressions in
your expression.

John.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic