Re: Replacing

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu