1
0
mirror of https://github.com/golang/go synced 2024-11-23 08:20:05 -07:00

add new regex syntax to doc

This commit is contained in:
Mauri de Souza Meneguzzo 2023-07-29 17:22:33 -03:00
parent 19646015ef
commit 31b50e6ab4

View File

@ -56,6 +56,7 @@ Grouping:
(re) numbered capturing group (submatch) (re) numbered capturing group (submatch)
(?P<name>re) named & numbered capturing group (submatch) (?P<name>re) named & numbered capturing group (submatch)
(?<name>re) named & numbered capturing group (submatch)
(?:re) non-capturing group (?:re) non-capturing group
(?flags) set flags within current group; non-capturing (?flags) set flags within current group; non-capturing
(?flags:re) set flags during re; non-capturing (?flags:re) set flags during re; non-capturing