diff options
author | hobbs <hobbs> | 2005-10-05 03:58:34 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-10-05 03:58:34 (GMT) |
commit | 6581c16e860b1a3ec39b6363acb0db74263f201a (patch) | |
tree | 9b52631de49ef30a930597d635419d6db114d711 /doc/scan.n | |
parent | a027f4410a23cadee78e4c04f319df20b07567cb (diff) | |
download | tcl-6581c16e860b1a3ec39b6363acb0db74263f201a.zip tcl-6581c16e860b1a3ec39b6363acb0db74263f201a.tar.gz tcl-6581c16e860b1a3ec39b6363acb0db74263f201a.tar.bz2 |
scan %[] requires "one or more chars" [Bug 1277503]
Diffstat (limited to 'doc/scan.n')
-rw-r--r-- | doc/scan.n | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: scan.n,v 1.14 2005/05/10 18:34:03 kennykb Exp $ +'\" RCS: @(#) $Id: scan.n,v 1.15 2005/10/05 03:58:35 hobbs Exp $ '\" .so man.macros .TH scan n 8.4 Tcl "Tcl Built-In Commands" @@ -136,8 +136,7 @@ decimal digits. It is read in and stored in the variable as a floating-point string. .TP 10 \fB[\fIchars\fB]\fR -The input field consists of any number of characters in -\fIchars\fR. +The input field consists of one or more characters in \fIchars\fR. The matching string is stored in the variable. If the first character between the brackets is a \fB]\fR then it is treated as part of \fIchars\fR rather than the closing @@ -149,8 +148,7 @@ If the first or last character between the brackets is a \fB\-\fR, then it is treated as part of \fIchars\fR rather than indicating a range. .TP 10 \fB[^\fIchars\fB]\fR -The input field consists of any number of characters not in -\fIchars\fR. +The input field consists of one or more characters not in \fIchars\fR. The matching string is stored in the variable. If the character immediately following the \fB^\fR is a \fB]\fR then it is treated as part of the set rather than the closing bracket for |