Boost logo

Boost-Build :

From: Rene Rivera (grafik666_at_[hidden])
Date: 2003-04-28 08:47:08


[2003-04-28] Vladimir Prus wrote:

>
>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.

Yes, to the first. I'll fix the comment :-)

-- grafik - Don't Assume Anything
-- rrivera_at_[hidden] - grafik_at_[hidden]
-- 102708583_at_icq

 


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