[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

matching "]" in tcl



This is terribly silly, but I just cant get tcl to do glob matching for
the closing square brace. I am using a scan set i.e [...] in the pattern
as

% string match $pattern $string

Normally in globbing, putting the "]" last works ok, but inside tcl it
isnt. Regexp is working fine though, no problem there.

there must be a way out of here ( said the....

-- sreangsu