Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(541)

Issue 5430046: code review 5430046: strings: Add ContainsAny and ContainsRune to correspond... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 3 months ago by bytbox
Modified:
13 years, 3 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

strings: Add ContainsAny and ContainsRune to correspond to IndexAny etc.

Patch Set 1 #

Patch Set 2 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 7 : diff -r 502ec1fb1db4 https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 1b010352ab57 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 9 : diff -r 1b010352ab57 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 1b010352ab57 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -3 lines) Patch
M src/pkg/strings/strings.go View 1 2 3 4 3 chunks +13 lines, -3 lines 0 comments Download
M src/pkg/strings/strings_test.go View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download

Messages

Total messages: 12
bytbox
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-11-22 08:45:57 UTC) #1
r
http://codereview.appspot.com/5430046/diff/3003/src/pkg/strings/strings.go File src/pkg/strings/strings.go (right): http://codereview.appspot.com/5430046/diff/3003/src/pkg/strings/strings.go#newcode67 src/pkg/strings/strings.go:67: return Index(s, substr) != -1 please change all these ...
13 years, 3 months ago (2011-11-23 00:50:26 UTC) #2
bytbox
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-23 17:28:19 UTC) #3
bytbox
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-23 17:29:39 UTC) #4
r
http://codereview.appspot.com/5430046/diff/2002/src/pkg/strings/strings_test.go File src/pkg/strings/strings_test.go (right): http://codereview.appspot.com/5430046/diff/2002/src/pkg/strings/strings_test.go#newcode945 src/pkg/strings/strings_test.go:945: if ContainsFunc(ct.str, ct.f.f) != ct.expected { this function is ...
13 years, 3 months ago (2011-11-23 17:35:54 UTC) #5
bytbox
On 11/23/11 12:35, r@golang.org wrote: > src/pkg/strings/strings_test.go:945: if ContainsFunc(ct.str, ct.f.f) != > ct.expected { > ...
13 years, 3 months ago (2011-11-23 17:36:38 UTC) #6
bytbox
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-23 17:44:09 UTC) #7
r
http://codereview.appspot.com/5430046/diff/6005/src/pkg/strings/strings_test.go File src/pkg/strings/strings_test.go (right): http://codereview.appspot.com/5430046/diff/6005/src/pkg/strings/strings_test.go#newcode920 src/pkg/strings/strings_test.go:920: {"", "a", false}, you only need one set of ...
13 years, 3 months ago (2011-11-23 18:00:23 UTC) #8
bytbox
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 3 months ago (2011-11-24 04:15:49 UTC) #9
bytbox
On 11/23/11 13:00, r@golang.org wrote: > > http://codereview.appspot.com/5430046/diff/6005/src/pkg/strings/strings_test.go > > File src/pkg/strings/strings_test.go (right): > > ...
13 years, 3 months ago (2011-11-24 04:15:54 UTC) #10
r
LGTM
13 years, 3 months ago (2011-11-24 04:19:39 UTC) #11
r
13 years, 3 months ago (2011-11-24 04:20:15 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=90bf4e91689b ***

strings: Add ContainsAny and ContainsRune to correspond to IndexAny etc.

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5430046

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b