Boost logo

Boost :

From: joel de guzman (joel_at_[hidden])
Date: 2001-05-26 19:33:04


----- Original Message -----
From: "Greg Colvin" <gcolvin_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, May 27, 2001 7:15 AM
Subject: Re: [boost] Re: [ANN] Spirit C++ parser framework.

> From: John Max Skaller <skaller_at_[hidden]>
> > joel de guzman wrote:
> > >
> > > From: "John Max Skaller" :
> >
> > > > (a|b)*abb
> >
> > > Right. (a|b) will consume all 'ab's with RD.
> >
> > Yeah. Which shows just how weak RD is:
> > it won't even process regular expressions.
>
> Which is another reason I've been wanting to see regex
> integrated into Spirit.
>

But this can be done in Spirit:

((a|b) - abb) >> abb

Spirit's EBNF syntax has the &, -, and ^ which are
very powerful set operators missing in other EBNF
dialects.

Cheers,
Joel de Guzman


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