Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-04-28 02:01:36


Just some nitpicking....

> +# Replaces occurances of a string in a given string. Returns the
> +# new string.
> +#
> +rule replace (
> + string # The string to modify.
> + match # The characters to replace.
> + replacement # The string to replace with.
> + )

Should not this comment say if 'match' can contain regex metacharacters?
And if 'replacement' can refer to matched string. I guess the answer is yes in
first case, and no in the second, but it's better be documented.

- 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