This regex wouldn't match my email address for a start.
it matches on you@here.com and other real addressesbut it wouldn't match "john.smith@johnsmith.com", would it?
And if you're thinking "yes it would!", then you might like to check what the \w means in regexes. I spent a lot of time struggling when I first started learning Perl because I thought my concept of a word and Perl's were the same. They aren't.
--
($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
In reply to Re: Regex Unexplained Failure
by Cody Pendant
in thread Regex Unexplained Failure
by Flame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |