Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-10-27
22:30 • Closed ticket [1048005fff]: Misleading string map doc plus 6 other changes artifact: 554f33f4f3 user: dkf
16:38 • Open ticket [1048005fff]. artifact: 4505a10b9c user: dkf
00:10 • Ticket [1048005fff]: 5 changes artifact: d8079ba856 user: dgp
2004-10-26
05:11 • Closed ticket [1048005fff]. artifact: e7cf4d9946 user: dkf
2004-10-15
19:52 • New ticket [1048005fff]. artifact: b64458dd79 user: setok

Misleading [string map] doc

Closed / Fixed1048005fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-10-15 19:52:02
The specification is as follows:

string map ?-nocase? charMap string

Replaces characters in string based on the  key-value 
pairs  in charMap. 

Both the use of the argument name 'charMap' and the
explanation would seem to mean that the map is for
mapping single characters, whereas in actual fact it is
mapping complete strings.
dkfplain2004-10-26 05:11:48
Logged In: YES 
user_id=79902

Fixed in HEAD
dgpplain2004-10-27 00:10:19
Logged In: YES 
user_id=80530


A backport of this, and other
improvements to string.n, for
the 8.4.8 release is worth considering.
dkfplain2004-10-27 16:38:10
Logged In: YES 
user_id=79902

Reopened to remind me to finish the doc backporting
dkfplain2004-10-27 22:30:24
Logged In: YES 
user_id=79902

Tcl docs (section n) backported
Log in (anonymous is fine) to add a comment.