Skip to content
Tcl Source Code Artifact [14fdddf2a3]
Login

Artifact [14fdddf2a3]

Artifact 14fdddf2a35fcb12ce7c584bc1b638d6463a12c6:

Ticket change [14fdddf2a3] - New ticket [3556218fffffffff|3556218fff] <i>string match &amp; glob: close-bracket in character set</i>. by avl42 on 2012-08-11 00:22:57.
D 2012-08-11T00:22:57
J assignee dkf
J cmimetype text/plain
J comment As\sof\snow,\sit\sis\snot\spossible\sto\sinclude\sa\sclose-bracket\scharacter\sin\sa\sbracketed\sset\sof\sallowed\scharacters.\n[scan]'s\sformat\suses\sbracketed\ssets\sof\sallowed\scharacters,\stoo,\sand\sit\s*does*\sallow\sa\sclose-bracket\sas\sfirst\schar.\n\nHaving\slooked\sinto\sthe\simplementation\sof\stcl's\sstring-globbing,\sit\sseems\sthat\s*before*\sentering\sthat\sloop\sover\sthe\nbracketed\scharacters,\san\sinitial\scheck\sfor\s']'\sin\sthe\spattern\sand\sin\sthe\sstring\sto\sbe\smatched\swould\sbe\sa\sreally\ssimple\nfix.\sDoing\sit\sthat\sway,\swould\seven\sstill\sallow\sa\sdash\sto\sbe\sincluded\sverbatim,\sas\swell,\sby\splacing\sit\sright\safter\sthe\nclose-bracket.\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter avl42
J subsystem 18.\sCommands\sM-Z
J title string\smatch\s&\sglob:\sclose-bracket\sin\scharacter\sset
J type Bug
K 3556218fffffffffffffffffffffffffffffffff
U avl42
Z 10ce6853cdda65900818261b7a67732e