Skip to content

Commit 31b50e6

Browse files
committed
add new regex syntax to doc
1 parent 1964601 commit 31b50e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/regexp/syntax/doc.go

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Grouping:
5656
5757
(re) numbered capturing group (submatch)
5858
(?P<name>re) named & numbered capturing group (submatch)
59+
(?<name>re) named & numbered capturing group (submatch)
5960
(?:re) non-capturing group
6061
(?flags) set flags within current group; non-capturing
6162
(?flags:re) set flags during re; non-capturing

0 commit comments

Comments
 (0)