diff options
author | andy <andrew.m.goth@gmail.com> | 2016-12-25 00:39:48 (GMT) |
---|---|---|
committer | andy <andrew.m.goth@gmail.com> | 2016-12-25 00:39:48 (GMT) |
commit | 770385938d96796e61dfc637ee9e648891b47497 (patch) | |
tree | b91ff01670f6c0ecc59313673aa4a70c9be1625c | |
parent | 14ff1705d414d9d1f5be2d0bb3d8b384c0eb4717 (diff) | |
download | tcl-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.n | 4 |
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 . |