Boost logo

Boost :

From: Phil Richards (news_at_[hidden])
Date: 2004-10-22 03:25:57


On 2004-10-21, Jonathan Turkanis <technews_at_[hidden]> wrote:
> <Schalk_Cronje_at_[hidden]> wrote in message:
> > Would anyone be interested in having a perl-like regex shortcut notation?
> > The original idea was born during a local C++ focus group discussion.
> What is a C++ focus group? A collection of randomly selected people who give
> their opinions on proposed changes to C++?

That sounds like a standards committee, to me ;-)

> > std::string s2= _s / "(BLAH)" / "Hooray" / str;
> Something like this would fit in easily with Eric Niebler's xpressive
> library. In fact, I suggested it, but Eric said it was "too cute". Perhaps
> we should convene a focus group to discuss the subject. ;-)

Well, I thought it was cute too. It is certainly a more friendly
C++ interface to those who come from regular expressions from more
"traditional" (Unix) regexp backgrounds (sed, perl, etc).

I'd put it on a par with iomanip. Yes, there are other ways of doing
the same thing, but it's just not as nice to look at. Maybe that's
just me...

phil

-- 
change name before "@" to "phil" for email

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk