Re: Replacing
- Posted by jeremy (admin) Dec 19, 2010
- 1289 views
jimcbrown said...
replace_all() was deprecated in favor of match_replace(). Ironic?
match_replace does everything replace_all did, but a bit more.
man:std_search#match_replace, i.e. replaces all by default, but you can use it to replace up to X matches. It also fits our naming scheme. find, match, find_replace, match_replace, ...
Jeremy