phpknight Posted August 5, 2007 Share Posted August 5, 2007 I am reading the definitive guide to Apache mod_rewrite. The author (p. 14) gives a faulty email validator as .+@+\..+ He then says this pattern will match many addresses but also @@@.@ and @.com. I understand the first claim, but would the second example really match? .+@ means one or more characters followed by the @ symbol, but @.com has NO characters and then the @ symbol. Is he mistaken, or am I missing something here? Quote Link to comment Share on other sites More sharing options...
phpknight Posted August 5, 2007 Author Share Posted August 5, 2007 Actually, I have figured it out. The example in the book is definitely wrong. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.