Forum Discussion
Robert_47833
Altostratus
Aug 29, 2011question mark ? and wildcard *
Variable ? and *
what does they respresent?
3 Replies
- hoolio
Cirrostratus
Hi Jucao,
From the string match wiki page:http://www.tcl.tk/man/tcl8.4/TclCmd/string.htmM35 * Matches any sequence of characters in string, including a null string. ? Matches any single character in string. [chars] Matches any character in the set given by chars. If a sequence of the form x-y appears in chars, then any character between x and y, inclusive, will match. When used with -nocase, the end points of the range are converted to lower case first. Whereas {[A-z]} matches '_' when matching case-sensitively ('_' falls between the 'Z' and 'a'), with -nocase this is considered like {[A-Za-z]} (and probably what was meant in the first place). \x Matches the single character x. This provides a way of avoiding the special interpretation of the characters *?[]\ in pattern.
Aaron - Robert_47833
Altostratus
thanks very much - Robert_47833
Altostratus
Hi,Aaron
can u update the doman host post I have created before
still need help from i
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects