lib/whyvalidationssuckin96/vendor/rfc822.rb in whyvalidationssuckin96-1.6.1 vs lib/whyvalidationssuckin96/vendor/rfc822.rb in whyvalidationssuckin96-1.6.2

- old
+ new

@@ -1,16 +1,17 @@ +# encoding: binary # # RFC822 Email Address Regex # -------------------------- -# +# # Originally written by Cal Henderson # c.f. http://iamcal.com/publish/articles/php/parsing_email/ # # Translated to Ruby by Tim Fletcher, with changes suggested by Dan Kubb. # # Licensed under a Creative Commons Attribution-ShareAlike 2.5 License # http://creativecommons.org/licenses/by-sa/2.5/ -# +# module WhyValidationsSuckIn96 module RFC822 EmailAddress = begin qtext = '[^\\x0d\\x22\\x5c\\x80-\\xff]' dtext = '[^\\x0d\\x5b-\\x5d\\x80-\\xff]' \ No newline at end of file