aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-04-19 10:32:54 -0700
committerGopher Robot <gobot@golang.org>2022-04-22 00:10:17 +0000
commit575fd8817ae9817303a69065def80c574718169e (patch)
tree6760444bca0fbd039c5cc6b0e080f5ea7454cede /api
parentc510cd92cf69df3cdc224b930490274ce1b6e2ac (diff)
downloadgo-575fd8817ae9817303a69065def80c574718169e.tar.gz
go-575fd8817ae9817303a69065def80c574718169e.zip
regexp: change ErrInvalidDepth message to match proposal
Also update the file in $GOROOT/api/next to use proposal number. For #51684 Change-Id: I28bfa6bc1cee98a17b13da196d41cda34d968bb0 Reviewed-on: https://go-review.googlesource.com/c/go/+/401076 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/51684.txt2
-rw-r--r--api/next/regexpdepth.txt3
2 files changed, 2 insertions, 3 deletions
diff --git a/api/next/51684.txt b/api/next/51684.txt
new file mode 100644
index 0000000000..f35d13f088
--- /dev/null
+++ b/api/next/51684.txt
@@ -0,0 +1,2 @@
+pkg regexp/syntax, const ErrInvalidDepth = "expression nests too deeply" #51684
+pkg regexp/syntax, const ErrInvalidDepth ErrorCode #51684
diff --git a/api/next/regexpdepth.txt b/api/next/regexpdepth.txt
deleted file mode 100644
index 9810218560..0000000000
--- a/api/next/regexpdepth.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-pkg regexp/syntax, const ErrInvalidDepth = "invalid nesting depth" #0
-pkg regexp/syntax, const ErrInvalidDepth ErrorCode #0
-