]> Cypherpunks repositories - gostls13.git/commitdiff
regexp/syntax: regenerate docs with mksyntaxgo
authorMauri de Souza Meneguzzo <mauri870@gmail.com>
Sun, 18 Feb 2024 12:23:20 +0000 (12:23 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 20 Feb 2024 14:57:37 +0000 (14:57 +0000)
This makes the docs up-to-date by running doc/mksyntaxgo from the google/re2 repo.

Change-Id: I80358eed071e7566c85edaeb1cc5514a6d8c37a7
GitHub-Last-Rev: 0f8c8df4f213ce89fbea89e81f0ea3babd59d38f
GitHub-Pull-Request: golang/go#65249
Reviewed-on: https://go-review.googlesource.com/c/go/+/558136
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/regexp/syntax/doc.go

index eb8a971c734874d7ee5f7c4648a287999ad6be1c..abc58bb15924e0d1c9ddbbcdf36f60fb52fea726 100644 (file)
@@ -7,12 +7,12 @@
 /*
 Package syntax parses regular expressions into parse trees and compiles
 parse trees into programs. Most clients of regular expressions will use the
-facilities of package regexp (such as Compile and Match) instead of this package.
+facilities of package [regexp] (such as [regexp.Compile] and [regexp.Match]) instead of this package.
 
 # Syntax
 
-The regular expression syntax understood by this package when parsing with the Perl flag is as follows.
-Parts of the syntax can be disabled by passing alternate flags to Parse.
+The regular expression syntax understood by this package when parsing with the [Perl] flag is as follows.
+Parts of the syntax can be disabled by passing alternate flags to [Parse].
 
 Single characters:
 
@@ -137,6 +137,6 @@ ASCII character classes:
        [[:word:]]     word characters (== [0-9A-Za-z_])
        [[:xdigit:]]   hex digit (== [0-9A-Fa-f])
 
-Unicode character classes are those in unicode.Categories and unicode.Scripts.
+Unicode character classes are those in [unicode.Categories] and [unicode.Scripts].
 */
 package syntax