We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5eec9 commit d1d668aCopy full SHA for d1d668a
src/regexp/regexp.go
@@ -42,7 +42,7 @@
42
// successive submatches of the expression. Submatches are matches of
43
// parenthesized subexpressions (also known as capturing groups) within the
44
// regular expression, numbered from left to right in order of opening
45
-// 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
46
// the match of the first parenthesized subexpression, and so on.
47
//
48
// If 'Index' is present, matches and submatches are identified by byte index
0 commit comments