thank you Kennethk. A follow up question. I am reading that the ^. is a metacharacter to indicated beginning of the string. So is if the variable is:
hostname.ms.com
is the ^. ignoring the "hostname" part of the string and just picking up the " .ms.com "? Also, why does the ^. have to be in brackets?
In reply to Re^2: pattern matching question
by jrhaggie
in thread pattern matching question
by jrhaggie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |