aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2020-06-05 13:18:28 -0400
committerMichael Matloob <matloob@golang.org>2020-06-05 19:17:58 +0000
commitd282b0f1121c475c3b435843a722a47172c20e7e (patch)
tree5e1e6f719ca6052b756a6bb4b168416e964e840b
parent3c35eec6184fba625e0c3207c05694f4020131a1 (diff)
downloadgo-d282b0f1121c475c3b435843a722a47172c20e7e.tar.gz
go-d282b0f1121c475c3b435843a722a47172c20e7e.zip
doc/go1.15: add release notes for regexp
Updates #37419 Change-Id: I340efe55b9dc41bb9ef6c9f0ec158d58a9445864 Reviewed-on: https://go-review.googlesource.com/c/go/+/236738 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--doc/go1.15.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/go1.15.html b/doc/go1.15.html
index a863b96d22..492cac0b09 100644
--- a/doc/go1.15.html
+++ b/doc/go1.15.html
@@ -537,7 +537,9 @@ TODO
<dl id="regexp"><dt><a href="/pkg/regexp/">regexp</a></dt>
<dd>
<p><!-- CL 187919 -->
- TODO: <a href="https://golang.org/cl/187919">https://golang.org/cl/187919</a>: add (*Regexp).SubexpIndex
+ The new <a href="/pkg/regexp/#Regexp.SubexpIndex"><code>Regexp.SubexpIndex</code></a>
+ method returns the index of the first subexpression with the given name
+ within the regular expression.
</p>
</dd>
</dl><!-- regexp -->