It's also common practice to examine the last part of the domain, since this must be alphabetic for hostnames: /\.\d+$/ Don't just do /\d$/, because "www3" is a valid hostname, though "www.3" is not.
In reply to RE: Not so cool name resolution
by Fastolfe
in thread Not so cool name resolution
by OzzyOsbourne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |