func bytes.Replace

10 uses

	bytes (current package)
		bytes.go#L989: func Replace(s, old, new []byte, n int) []byte {
		bytes.go#L1031: 	return Replace(s, old, new, -1)

	github.com/russross/blackfriday/v2
		block.go#L311: 	data = bytes.Replace(data, []byte("\n% "), []byte("\n"), -1)

	github.com/yuin/goldmark/extension
		footnote.go#L635: 	ret := bytes.Replace(b, []byte("^^"), is, -1)
		footnote.go#L636: 	return bytes.Replace(ret, []byte("%%"), rs, -1)

	github.com/yuin/goldmark/util
		util.go#L129: 	bs = bytes.Replace(bs, []byte(" "), []byte("[SPACE]"), -1)
		util.go#L130: 	bs = bytes.Replace(bs, []byte("\t"), []byte("[TAB]"), -1)
		util.go#L131: 	bs = bytes.Replace(bs, []byte("\n"), []byte("[NEWLINE]\n"), -1)
		util.go#L132: 	bs = bytes.Replace(bs, []byte("\r"), []byte("[CR]"), -1)

	golang.org/x/net/html
		token.go#L1126: 			s = bytes.Replace(s, nul, replacement, -1)