Skip to content

Commit e4ab8b0

Browse files
luochuanhangianlancetaylor
authored andcommitted
regexp: add the missing is
Change-Id: I23264972329aa3414067cd0e0986b69bb39bbeb5 GitHub-Last-Rev: d1d668a GitHub-Pull-Request: #50650 Reviewed-on: https://go-review.googlesource.com/c/go/+/378935 Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Daniel Martí <[email protected]>
1 parent bb7fb8a commit e4ab8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/regexp/regexp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
// successive submatches of the expression. Submatches are matches of
4343
// parenthesized subexpressions (also known as capturing groups) within the
4444
// regular expression, numbered from left to right in order of opening
45-
// parenthesis. Submatch 0 is the match of the entire expression, submatch 1
45+
// parenthesis. Submatch 0 is the match of the entire expression, submatch 1 is
4646
// the match of the first parenthesized subexpression, and so on.
4747
//
4848
// If 'Index' is present, matches and submatches are identified by byte index

0 commit comments

Comments
 (0)