- 
      
- 
        Save asiellb/81da8cbc67a6f00ff17cf79d33dffc8c to your computer and use it in GitHub Desktop. 
Revisions
- 
        willnss revised this gist Feb 21, 2012 . No changes.There are no files selected for viewing
- 
        willnss created this gist Feb 21, 2012 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i full regex / start of regex \A atch start of a string [\w+\-.]+ at least one word character, plus, hyphen, or dot @ literal “at sign” [a-z\d\-.]+ at least one letter, digit, hyphen, or dot \. literal dot [a-z]+ at least one letter \z match end of a string / end of regex i case insensitive