Dan Collins wrote:
Last I checked, '.' matches \s. Oh, and '/' uis a pretty important character, and should really be escaped.
No, '.' inside [] matches '.'. The [.\s] is looking for a period or whitespace.
And there's no reason to escape '/' if you're not using slashes for the regex delimiters. If you want to escape it because you make a habit to do so in regexes, that's fine, but it's not an error not to.
-- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC