Skip to content

Commit d282b0f

Browse files
committed
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>
1 parent 3c35eec commit d282b0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/go1.15.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
537537
<dl id="regexp"><dt><a href="/pkg/regexp/">regexp</a></dt>
538538
<dd>
539539
<p><!-- CL 187919 -->
540-
TODO: <a href="https://golang.org/cl/187919">https://golang.org/cl/187919</a>: add (*Regexp).SubexpIndex
540+
The new <a href="/pkg/regexp/#Regexp.SubexpIndex"><code>Regexp.SubexpIndex</code></a>
541+
method returns the index of the first subexpression with the given name
542+
within the regular expression.
541543
</p>
542544
</dd>
543545
</dl><!-- regexp -->

0 commit comments

Comments
 (0)