Forum Discussion
hooleylist
Jun 15, 2012Cirrostratus
switch -glob uses the same matching logic as TCL string match so you can definitely use multiple wildcards and character classes:
% string match {*2*4*} 123456789
1
% string match {*[0-9]*} abc5def
1
% string match {*2*5[6-8]*9} 123456789
1
Aaron