diff options
author | luochuanhang <chuanhangluo@gmail.com> | 2022-01-18 01:59:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-01-19 22:56:09 +0000 |
commit | e4ab8b0fe6d34c6cbfe29031a9c4df58ac1c452f (patch) | |
tree | 841a390e3957f4a21e93822df1ed53aaca85a23a /src/regexp/regexp.go | |
parent | bb7fb8a5fac1ad9570c554c366826d649350acbe (diff) | |
download | go-git-e4ab8b0fe6d34c6cbfe29031a9c4df58ac1c452f.tar.gz |
regexp: add the missing is
Change-Id: I23264972329aa3414067cd0e0986b69bb39bbeb5
GitHub-Last-Rev: d1d668a3cbe852d9a06f03369e7e635232d85139
GitHub-Pull-Request: golang/go#50650
Reviewed-on: https://go-review.googlesource.com/c/go/+/378935
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Daniel Martà <mvdan@mvdan.cc>
Diffstat (limited to 'src/regexp/regexp.go')
-rw-r--r-- | src/regexp/regexp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp/regexp.go b/src/regexp/regexp.go index af7259c9bf..f975bb3894 100644 --- a/src/regexp/regexp.go +++ b/src/regexp/regexp.go @@ -42,7 +42,7 @@ // successive submatches of the expression. Submatches are matches of // parenthesized subexpressions (also known as capturing groups) within the // regular expression, numbered from left to right in order of opening -// parenthesis. Submatch 0 is the match of the entire expression, submatch 1 +// parenthesis. Submatch 0 is the match of the entire expression, submatch 1 is // the match of the first parenthesized subexpression, and so on. // // If 'Index' is present, matches and submatches are identified by byte index |