summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandy <andrew.m.goth@gmail.com>2016-12-25 00:39:48 (GMT)
committerandy <andrew.m.goth@gmail.com>2016-12-25 00:39:48 (GMT)
commit770385938d96796e61dfc637ee9e648891b47497 (patch)
treeb91ff01670f6c0ecc59313673aa4a70c9be1625c
parent14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717 (diff)
downloadtcl-770385938d96796e61dfc637ee9e648891b47497.zip
tcl-770385938d96796e61dfc637ee9e648891b47497.tar.gz
tcl-770385938d96796e61dfc637ee9e648891b47497.tar.bz2
Add note to array documentation about the general uselessness of -exact matching. It exists because [array names] had it since check-in [634da00427] (8.4a1), which also added -regexp.
-rw-r--r--doc/array.n4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/array.n b/doc/array.n
index 40e0c24..c901560 100644
--- a/doc/array.n
+++ b/doc/array.n
@@ -36,7 +36,9 @@ in the array. The legal \fImode\fR values are:
\fB\-exact\fR
.
\fIPattern\fR is a literal string that is compared for exact equality against
-each array element name.
+each array element name. This mode has limited utility because all uses of the
+\fBarray\fR command with \fB-exact\fR matching can be implemented by operating
+directly on the array element with standard \fIname\fB(\fIindex\fB)\fR notation.
.TP
\fB\-glob\fR
.