Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-04-01 00:13:10


Douglas Gregor wrote:
> On Monday 31 March 2003 09:31 am, Vladimir Prus wrote:
> > Doug, if you allow me some nitpicking, I think there are some problems
> > with this. Both definitions 'escape' are very similiar. I think it would
> > be better to factor out common code. Probably, a rule in the regex
> > module:
> >
> > rule escape ( string : symbols : escape-symbol )
> > {
> > .....
> > }
> >
> > ?
>
> Picky, picky :). But, of course, you're right. Refactored & retested code
> below; okay?

This looks perfect to me, please feel free to commit.
(Ultimately, we need to add a rule which can quote regex metacharacters, but
that's up to me).

Thanks,
Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk