aboutsummaryrefslogtreecommitdiff
path: root/src/regexp/syntax
diff options
context:
space:
mode:
authorMauri de Souza Meneguzzo <mauri870@gmail.com>2024-02-18 12:23:20 +0000
committerGopher Robot <gobot@golang.org>2024-02-20 14:57:37 +0000
commitc4d55ab91260ca2d538fcf3dadbccc1d1c111c96 (patch)
treef9462045cdbc8799d10fdeef4f3832683f7e050e /src/regexp/syntax
parent0a04641871d8a035da0f088899f414d21067f342 (diff)
downloadgo-c4d55ab91260ca2d538fcf3dadbccc1d1c111c96.tar.xz
regexp/syntax: regenerate docs with mksyntaxgo
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>
Diffstat (limited to 'src/regexp/syntax')
-rw-r--r--src/regexp/syntax/doc.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regexp/syntax/doc.go b/src/regexp/syntax/doc.go
index eb8a971c73..abc58bb159 100644
--- a/src/regexp/syntax/doc.go
+++ b/src/regexp/syntax/doc.go
@@ -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