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

Issue 106360043: code review 106360043: regexp: add ReplaceAll(String)?SubmatchFunc.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by vmihailenco
Modified:
9 years, 4 months ago
Visibility:
Public.

Description

regexp: add ReplaceAll(String)?SubmatchFunc. Fixes issue 5690.

Patch Set 1 #

Patch Set 2 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 3 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 4 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 5 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 6 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 7 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Patch Set 8 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Total comments: 2

Patch Set 9 : diff -r 04a5bbd18c65 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M src/pkg/regexp/all_test.go View 2 chunks +41 lines, -0 lines 0 comments Download
M src/pkg/regexp/regexp.go View 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 11
vmihailenco
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
9 years, 9 months ago (2014-07-01 11:44:36 UTC) #1
rsc
This is a very awkward API. Passing the submatches in separate function calls and somehow ...
9 years, 9 months ago (2014-07-09 16:14:44 UTC) #2
vmihailenco
On 2014/07/09 16:14:44, rsc wrote: > This is a very awkward API. Passing the submatches ...
9 years, 9 months ago (2014-07-10 08:51:43 UTC) #3
vmihailenco
PTAL
9 years, 9 months ago (2014-07-10 08:52:25 UTC) #4
bradfitz
https://codereview.appspot.com/106360043/diff/140001/src/pkg/regexp/regexp.go File src/pkg/regexp/regexp.go (right): https://codereview.appspot.com/106360043/diff/140001/src/pkg/regexp/regexp.go#newcode475 src/pkg/regexp/regexp.go:475: // ReplaceAllStringFunc returns a copy of src in which ...
9 years, 9 months ago (2014-07-23 18:35:28 UTC) #5
vmihailenco.
On 2014/07/23 18:35:28, bradfitz wrote: > https://codereview.appspot.com/106360043/diff/140001/src/pkg/regexp/regexp.go > File src/pkg/regexp/regexp.go (right): > > https://codereview.appspot.com/106360043/diff/140001/src/pkg/regexp/regexp.go#newcode475 > ...
9 years, 9 months ago (2014-07-24 07:34:26 UTC) #6
rsc
R=r I am not convinced this API needs to be expanded. Rob designed the API, ...
9 years, 9 months ago (2014-07-24 13:55:06 UTC) #7
r
NOT LGTM This is ugly and hard to use. I don't think it carries enough ...
9 years, 8 months ago (2014-07-28 21:21:29 UTC) #8
mzanona
On 2014/07/28 21:21:29, r wrote: > NOT LGTM > > This is ugly and hard ...
9 years, 7 months ago (2014-09-11 12:50:34 UTC) #9
mzanona
On 2014/09/11 12:50:34, mzanona wrote: > On 2014/07/28 21:21:29, r wrote: > > NOT LGTM ...
9 years, 7 months ago (2014-09-11 12:52:43 UTC) #10
rsc
9 years, 4 months ago (2014-12-04 16:35:33 UTC) #11
R=close
Sign in to reply to this message.

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