Matthew's Place on the Web
Posts tagged regex
Limits of a Regular Expression
Feb 16th
I have been using regular expressions quite liberally since I learned how to write them. I haven’t really made any very complex ones at all. Until I decided to make one that would validate e-mail addresses. I first downloaded the RFC822 and RFC2822. These are the documents that actually outline the format of e-mail messages. I also grabbed the RFC1035 which describes the domain name service formats for the Internet , to make sure that domain part of an e-mail follows its more strict rules.