go/src/strings
smasher164 7aed6dd7e1 strings, bytes: deprecate Title
Title doesn't handle Unicode punctuation and language-specific
capitalization rules. Replace the BUG comment with a Deprecated
one, suggesting a more robust alternative, and allowing Title
to be exposed to tooling.

Fixes #48367.

Change-Id: I952f1f37cd35b587a95893fb022827bdd9ec7de9
Reviewed-on: https://go-review.googlesource.com/c/go/+/359485
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
2021-11-05 21:27:34 +00:00
..
builder.go bufio, bytes, strings: handle negative runes in WriteRune 2021-02-24 04:01:25 +00:00
builder_test.go bufio, bytes, strings: handle negative runes in WriteRune 2021-02-24 04:01:25 +00:00
clone.go strings: align Clone output with string([]byte("")) 2021-11-01 14:45:28 +00:00
clone_test.go strings: align Clone output with string([]byte("")) 2021-11-01 14:45:28 +00:00
compare.go net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
compare_test.go
example_test.go bytes, strings: add Cut 2021-10-06 15:53:00 +00:00
export_test.go
reader.go strings: complete Reader doc string 2020-10-30 00:23:50 +00:00
reader_test.go
replace.go strings: smarter growth of temporal buffer and avoid copying on return 2021-08-22 23:49:55 +00:00
replace_test.go
search.go
search_test.go
strings.go strings, bytes: deprecate Title 2021-11-05 21:27:34 +00:00
strings_test.go bytes, strings: add Cut 2021-10-06 15:53:00 +00:00