Syntactic Confectionery Delight | |
PerlMonks |
Re: Regex being stupidby davido (Cardinal) |
on Sep 19, 2013 at 03:06 UTC ( [id://1054762]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|