]> Cypherpunks repositories - gostls13.git/commit
bytes, strings: add ReplaceAll
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 26 Sep 2018 20:19:11 +0000 (20:19 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 26 Sep 2018 20:51:23 +0000 (20:51 +0000)
commitebdc0b8d68e04ad383088c8b3ab963de4a9b5c5d
treec6ccca03228b99d0042fd0d18ac91c9380355d40
parent5a8c11ce3e7a87485defafb78c7bcf14f9d7b5a2
bytes, strings: add ReplaceAll

Credit to Harald Nordgren for the proposal in
https://golang.org/cl/137456 and #27864.

Fixes #27864

Change-Id: I80546683b0623124fe4627a71af88add2f6c1c27
Reviewed-on: https://go-review.googlesource.com/137855
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/bytes/bytes.go
src/bytes/bytes_test.go
src/strings/strings.go
src/strings/strings_test.go