in reply to Regex being stupid
I didn't bother reading past "\s" in your regex. I don't see a space character appearing anywhere before the "@" in your target string, so of course it can't match.
Why do you say the regex is being stupid, when it's just doing what you're telling it to do (ie, reject matches on strings that don't have a space character before a word character before an "@" character)?
Dave
|
|---|