fork(4) download
  1. <?php
  2.  
  3. /**
  4.  * 0 = Just Expression Summary (incorrect Validations)
  5.  * 1 = Above and display Email Group Fail Summary
  6.  * 2 = Above and display Email Truthy Group Summary
  7.  * 3 = Above and display individual Email Result
  8.  */
  9. $display = 3;
  10. $line_width = 100;
  11.  
  12. $perl510_example = <<<EOF
  13. (?(DEFINE)
  14.   (?<address> (?&mailbox) | (?&group))
  15.   (?<mailbox> (?&name_addr) | (?&addr_spec))
  16.   (?<name_addr> (?&display_name)? (?&angle_addr))
  17.   (?<angle_addr> (?&CFWS)? < (?&addr_spec) > (?&CFWS)?)
  18.   (?<group> (?&display_name) : (?:(?&mailbox_list) | (?&CFWS))? ;
  19.   (?&CFWS)?)
  20.   (?<display_name> (?&phrase))
  21.   (?<mailbox_list> (?&mailbox) (?: , (?&mailbox))*)
  22.  
  23.   (?<addr_spec> (?&local_part) \@ (?&domain))
  24.   (?<local_part> (?&dot_atom) | (?&quoted_string))
  25.   (?<domain> (?&dot_atom) | (?&domain_literal))
  26.   (?<domain_literal> (?&CFWS)? \[ (?: (?&FWS)? (?&dcontent))* (?&FWS)?
  27.   \] (?&CFWS)?)
  28.   (?<dcontent> (?&dtext) | (?&quoted_pair))
  29.   (?<dtext> (?&NO_WS_CTL) | [\x21-\x5a\x5e-\x7e])
  30.  
  31.   (?<atext> (?&ALPHA) | (?&DIGIT) | [!#\\$%&'*+-\/=?^_`{|}~])
  32.   (?<atom> (?&CFWS)? (?&atext)+ (?&CFWS)?)
  33.   (?<dot_atom> (?&CFWS)? (?&dot_atom_text) (?&CFWS)?)
  34.   (?<dot_atom_text> (?&atext)+ (?: \. (?&atext)+)*)
  35.  
  36.   (?<text> [\x01-\x09\x0b\x0c\x0e-\x7f])
  37.   (?<quoted_pair> \\ (?&text))
  38.  
  39.   (?<qtext> (?&NO_WS_CTL) | [\x21\x23-\x5b\x5d-\x7e])
  40.   (?<qcontent> (?&qtext) | (?&quoted_pair))
  41.   (?<quoted_string> (?&CFWS)? (?&DQUOTE) (?:(?&FWS)? (?&qcontent))*
  42.   (?&FWS)? (?&DQUOTE) (?&CFWS)?)
  43.  
  44.   (?<word> (?&atom) | (?&quoted_string))
  45.   (?<phrase> (?&word)+)
  46.  
  47.   # Folding white space
  48.   (?<FWS> (?: (?&WSP)* (?&CRLF))? (?&WSP)+)
  49.   (?<ctext> (?&NO_WS_CTL) | [\x21-\x27\x2a-\x5b\x5d-\x7e])
  50.   (?<ccontent> (?&ctext) | (?&quoted_pair) | (?&comment))
  51.   (?<comment> \( (?: (?&FWS)? (?&ccontent))* (?&FWS)? \) )
  52.   (?<CFWS> (?: (?&FWS)? (?&comment))*
  53.   (?: (?:(?&FWS)? (?&comment)) | (?&FWS)))
  54.  
  55.   # No whitespace control
  56.   (?<NO_WS_CTL> [\x01-\x08\x0b\x0c\x0e-\x1f\x7f])
  57.  
  58.   (?<ALPHA> [A-Za-z])
  59.   (?<DIGIT> [0-9])
  60.   (?<CRLF> \x0d \x0a)
  61.   (?<DQUOTE> \")
  62.   (?<WSP> [\x20\x09])
  63.  )
  64.  
  65. ((?&address))
  66. EOF;
  67.  
  68.  
  69. $expressions = array(
  70. 'source' => 'http://w...content-available-to-author-only...a.com/catalog/regexp/',
  71. 'name' => 'Mastering Regular Expressions by "Jeffrey Friedl"',
  72. 'regex' => '/[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*@[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*|(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037]*(?:(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037]*)*<[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:@[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*(?:,[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*@[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*)*:[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)?(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|"[^\\\x80-\xff\n\015"]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015"]*)*")[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*@[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:\.[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*(?:[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff])|\[(?:[^\\\x80-\xff\n\015\[\]]|\\[^\x80-\xff])*\])[\040\t]*(?:\([^\\\x80-\xff\n\015()]*(?:(?:\\[^\x80-\xff]|\([^\\\x80-\xff\n\015()]*(?:\\[^\x80-\xff][^\\\x80-\xff\n\015()]*)*\))[^\\\x80-\xff\n\015()]*)*\)[\040\t]*)*)*>)/x',
  73. ),
  74. 'source' => 'http://b...content-available-to-author-only...t.ly/1nJF25u',
  75. 'name' => 'Top at "Fighting For a Lost Cause" on May 28th 2010',
  76. 'regex' => '/^([\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+\.)*[\w\!\#$\%\&\'\*\+\-\/\=\?\^\`{\|\}\~]+@((((([a-z0-9]{1}[a-z0-9\-]{0,62}[a-z0-9]{1})|[a-z])\.)+[a-z]{2,6})|(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?)$/i',
  77. ),
  78. 'source' => 'http://b...content-available-to-author-only...t.ly/1nJF25u',
  79. 'name' => 'PHP\'s `filter_var()` by "Michael Rushton"',
  80. 'regex' => '/^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/iD',
  81. ),
  82. 'source' => 'dunno',
  83. 'name' => 'A JS go by a co-worker.',
  84. 'regex' => '/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/i',
  85. ),
  86. 'source' => 'http://b...content-available-to-author-only...t.ly/1nJF25u',
  87. 'name' => 'Improvement of Warren Gaebel\'s Regex, by "Arluison Guillaume"',
  88. 'regex' => '/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i',
  89. ),
  90. 'source' => 'http://stackoverflow.com/a/1917982/1301994',
  91. 'name' => 'Perl 5.10 Example by "Abigail"',
  92. 'regex' => "/^$perl510_example\$/x",
  93. ),
  94. 'source' => 'http://stackoverflow.com/a/1771483/1301994',
  95. 'name' => 'RFC 5322 standard Example by "MichaelRushton"',
  96. 'regex' => '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD',
  97. ),
  98. 'source' => 'http://stackoverflow.com/a/1771483/1301994',
  99. 'name' => 'RFC 5321 standard Example by "MichaelRushton"',
  100. 'regex' => '/^(?!(?>"?(?>\\\[ -~]|[^"])"?){255,})(?!"?(?>\\\[ -~]|[^"]){65,}"?@)(?>([!#-\'*+\/-9=?^-~-]+)(?>\.(?1))*|"(?>[ !#-\[\]-~]|\\\[ -~])*")@(?!.*[^.]{64,})(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>\.(?2)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?3)){7}|(?!(?:.*[a-f0-9][:\]]){8,})((?3)(?>:(?3)){0,6})?::(?4)?))|(?>(?>IPv6:(?>(?3)(?>:(?3)){5}:|(?!(?:.*[a-f0-9]:){6,})(?5)?::(?>((?3)(?>:(?3)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?6)){3}))\])$/iD',
  101. ),
  102. 'source' => 'http://stackoverflow.com/a/1771483/1301994',
  103. 'name' => 'Basic Example by "MichaelRushton"',
  104. 'regex' => '/^(?!.{255,})(?!.{65,}@)([!#-\'*+\/-9=?^-~-]+)(?>\.(?1))*@(?!.*[^.]{64,})(?>[a-z0-9](?>[a-z0-9-]*[a-z0-9])?\.){1,126}[a-z]{2,6}$/iD',
  105. ),
  106. 'source' => 'http://stackoverflow.com/a/1931322/1301994',
  107. 'name' => 'Simple and Lazy by "BalusC"',
  108. 'regex' => '/^([^.@]+)(\.[^.@]+)*@([^.@]+\.)+([^.@]+)$/',
  109. ),
  110. 'source' => 'http://b...content-available-to-author-only...t.ly/1pGmoYO',
  111. 'name' => 'The Laziest by "IceMetalPunk"',
  112. 'regex' => '/^[^@]+@[^@]+\.[^@\.]+$/',
  113. ),
  114. 'source' => 'http://stackoverflow.com/a/6756736/1301994',
  115. 'name' => 'Practically Useless by "Mac"',
  116. 'regex' => '/^.+@.*$/', // Converted
  117. ),
  118. );
  119.  
  120. $tests = array(
  121. 'source' => 'WikiPedia',
  122. 'source_url' => 'http://e...content-available-to-author-only...a.org/wiki/Email_address',
  123. 'emails' => array(
  124. // VALIDATE AS FALSE
  125. 0 => array(
  126. 'Abc.example.com', // (an @ character must separate the local and domain parts)
  127. 'A@b@c@example.com', // (only one @ is allowed outside quotation marks)
  128. 'a"b(c)d,e:f;g<h>i[j\k]l@example.com', // (none of the special characters in this local part is allowed outside quotation marks)
  129. 'just"not"right@example.com', // (quoted strings must be dot separated, or the only element making up the local-part)
  130. 'this is"not\allowed@example.com', // (spaces, quotes, and backslashes may only exist when within quoted strings and preceded by a backslash)
  131. 'this\ still\"not\\allowed@example.com', // (even if escaped (preceded by a backslash), spaces, quotes, and backslashes must still be contained by quotes)
  132. ),
  133. // VALIDATE AS TRUE
  134. 1 => array(
  135. 'niceandsimple@example.com',
  136. 'very.common@example.com',
  137. 'a.little.lengthy.but.fine@dept.example.com',
  138. 'disposable.style.email.with+symbol@example.com',
  139. 'other.email-with-dash@example.com',
  140. 'user@localserver',
  141. ),
  142. ),
  143. ),
  144. 'source' => 'CodeFool',
  145. 'source_url' => 'http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses',
  146. 'emails' => array(
  147. // VALIDATE AS FALSE
  148. 0 => array(
  149. 'plainaddress',
  150. '#@%^%#$@#$@#.com',
  151. '@example.com',
  152. 'Joe Smith <email@example.com>',
  153. 'email.example.com',
  154. 'email@example@example.com',
  155. '.email@example.com',
  156. 'email.@example.com',
  157. 'email..email@example.com',
  158. 'あいうえお@example.com',
  159. 'email@example.com (Joe Smith)',
  160. 'email@example',
  161. 'email@-example.com',
  162. 'email@example.web',
  163. 'email@111.222.333.44444',
  164. 'email@example..com',
  165. 'Abc..123@example.com',
  166. '"(),:;<>[\]@example.com',
  167. 'just"not"right@example.com',
  168. 'this\ is"really"not\allowed@example.com',
  169. ),
  170. // VALIDATE AS TRUE
  171. 1 => array(
  172. 'email@example.com',
  173. 'firstname.lastname@example.com',
  174. 'email@subdomain.example.com',
  175. 'firstname+lastname@example.com',
  176. 'email@123.123.123.123',
  177. 'email@[123.123.123.123]',
  178. '"email"@example.com',
  179. '1234567890@example.com',
  180. 'email@example-one.com',
  181. '_______@example.com',
  182. 'email@example.name',
  183. 'email@example.museum',
  184. 'email@example.co.jp',
  185. 'firstname-lastname@example.com',
  186. 'much."more\ unusual"@example.com',
  187. 'very.unusual."@".unusual.com@example.com',
  188. 'very."(),:;<>[]".VERY."very@\\ "very".unusual@strange.example.com',
  189. ),
  190. ),
  191. ),
  192. 'source' => 'StackOverflow',
  193. 'source_url' => 'http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script',
  194. 'emails' => array(
  195. // VALIDATE AS FALSE
  196. 0 => array(
  197. 'me@',
  198. '@example.com',
  199. 'me.@example.com',
  200. '.me@example.com',
  201. 'me@example..com',
  202. 'me.example@com',
  203. 'me\@example.com',
  204. ),
  205. // VALIDATE AS TRUE
  206. 1 => array(
  207. 'me@example.com',
  208. 'a.nonymous@example.com',
  209. 'name+tag@example.com',
  210. 'name\@tag@example.com', // this is a valid email address containing two @ symbols.
  211. 'spaces\ are\ allowed@example.com',
  212. '"spaces may be quoted"@example.com',
  213. '!#$%&\'+-/=.?^`{|}~@[1.0.0.127]',
  214. '!#$%&\'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]',
  215. 'me(this is a comment)@example.com', // comments are discouraged but not prohibited by RFC2822.
  216. ),
  217. ),
  218. ),
  219. );
  220.  
  221. $break = str_repeat("=",$line_width)."\n";
  222.  
  223. foreach($expressions as $expression) {
  224.  
  225. $fails = array();
  226.  
  227. $regex = $expression['regex'];
  228.  
  229. $expression_tests = 0;
  230. $expression_fails = 0;
  231.  
  232. print_r($break.str_pad(" BEGIN TESTS FOR {$expression['name']} ", $line_width, "=", STR_PAD_BOTH)."\n".str_pad(" SOURCE: {$expression['source']} ", $line_width, "=", STR_PAD_BOTH)."\n$break\n");
  233.  
  234. foreach($tests as $source) {
  235.  
  236. if($display) print_r("\tTesting Example Emails from {$source['source']}\n\tSOURCE: {$source['source_url']}\n");
  237.  
  238. $test_count = 0;
  239. $test_fails = 0;
  240.  
  241. foreach($source['emails'] as $truthy => $emails) {
  242. $validations = array(0 => 0, 1 => 0);
  243.  
  244. $validity = (!$truthy ? 'IN' : '')."VALID";
  245. $count = count($emails);
  246.  
  247. if($display > 2) print_r("\t\tThe following $count Emails should be $validity\n\t\tThe reported status indicates if the result matches the expected.\n");
  248.  
  249. foreach($emails as $email) {
  250.  
  251. $test_count++;
  252.  
  253. $returned = preg_match("$regex", $email, $matches);
  254.  
  255. $passed = ($truthy === $returned);
  256.  
  257. if($returned === FALSE) {
  258. print_r("\t\tRegulair Expression Exited with a Failing Status.\n\n");
  259. break 3;
  260. }
  261.  
  262. if(!$passed) {
  263. $fails[$truthy][] = $email;
  264. $test_fails++;
  265. }
  266.  
  267. $validations[$passed]++;
  268.  
  269. $found = (!$passed ? ("\n\t\t\t\t".(!empty($matches[0]) ? "found {$matches[0]}" : "no email found")) : '');
  270. $passed = ($passed ? 'PASSED' : 'FAILED');
  271.  
  272. if($display > 2) print_r("\t\t\t$passed\t$email$found\n");
  273. }
  274.  
  275. if($display > 1) print_r("\t\t\tThe Regulair Expression Failed on {$validations[0]} out of $count $validity emails.\n");
  276. }
  277.  
  278. if($display) print_r("\tFAILED $test_fails out of $test_count Validations for Emails from {$source['source']}.\n\n");
  279.  
  280. $expression_tests += $test_count;
  281. $expression_fails += $test_fails;
  282. }
  283.  
  284. print_r(str_pad(" SUMMARY FOR {$expression['name']} ", $line_width, "=", STR_PAD_BOTH)."\n");
  285.  
  286. print_r("{$expression['name']} Failed Validation for $expression_fails out of $expression_tests Emails\n");
  287.  
  288. if($display) {
  289. foreach($fails as $truthy => $emails) {
  290. $validity = (!$truthy ? 'IN' : '').'VALID';
  291. $count = count($emails);
  292. $emails = implode("\n\t\t", $emails);
  293. print_r("\tThe following $count Emails SHOULD have been $validity:\n\t\t$emails\n");
  294. }
  295. }
  296.  
  297. print_r("\n\n");
  298.  
  299. }
  300.  
Runtime error #stdin #stdout 0.05s 25944KB
stdin
Standard input is empty
stdout
====================================================================================================
================ BEGIN TESTS FOR Mastering Regular Expressions by "Jeffrey Friedl" =================
============================ SOURCE: http://w...content-available-to-author-only...a.com/catalog/regexp/ ============================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			FAILED	A@b@c@example.com
				found A@b
			FAILED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
				found l@example.com
			FAILED	just"not"right@example.com
				found right@example.com
			FAILED	this is"not\allowed@example.com
				found allowed@example.com
			FAILED	this\ still\"not\allowed@example.com
				found allowed@example.com
			The Regulair Expression Failed on 5 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			PASSED	user@localserver
			The Regulair Expression Failed on 0 out of 6 VALID emails.
	FAILED 5 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			FAILED	#@%^%#$@#$@#.com
				found #@%^%#$
			PASSED	@example.com
			FAILED	Joe Smith <email@example.com>
				found Joe Smith <email@example.com>
			PASSED	email.example.com
			FAILED	email@example@example.com
				found email@example
			FAILED	.email@example.com
				found email@example.com
			PASSED	email.@example.com
			FAILED	email..email@example.com
				found email@example.com
			PASSED	あいうえお@example.com
			FAILED	email@example.com (Joe Smith)
				found email@example.com 
			FAILED	email@example
				found email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			FAILED	email@example..com
				found email@example
			FAILED	Abc..123@example.com
				found 123@example.com
			PASSED	"(),:;<>[\]@example.com
			FAILED	just"not"right@example.com
				found right@example.com
			FAILED	this\ is"really"not\allowed@example.com
				found allowed@example.com
			The Regulair Expression Failed on 14 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			FAILED	email@[123.123.123.123]
				no email found
			FAILED	"email"@example.com
				no email found
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			PASSED	very.unusual."@".unusual.com@example.com
			PASSED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
			The Regulair Expression Failed on 3 out of 17 VALID emails.
	FAILED 17 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			FAILED	.me@example.com
				found me@example.com
			FAILED	me@example..com
				found me@example
			FAILED	me.example@com
				found me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 3 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			PASSED	name\@tag@example.com
			PASSED	spaces\ are\ allowed@example.com
			FAILED	"spaces may be quoted"@example.com
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 4 out of 9 VALID emails.
	FAILED 7 out of 16 Validations for Emails from StackOverflow.

================== SUMMARY FOR Mastering Regular Expressions by "Jeffrey Friedl" ===================
Mastering Regular Expressions by "Jeffrey Friedl" Failed Validation for 29 out of 65 Emails
	The following 22 Emails SHOULD have been INVALID:
		A@b@c@example.com
		a"b(c)d,e:f;g<h>i[j\k]l@example.com
		just"not"right@example.com
		this is"not\allowed@example.com
		this\ still\"not\allowed@example.com
		#@%^%#$@#$@#.com
		Joe Smith <email@example.com>
		email@example@example.com
		.email@example.com
		email..email@example.com
		email@example.com (Joe Smith)
		email@example
		email@-example.com
		email@example.web
		email@111.222.333.44444
		email@example..com
		Abc..123@example.com
		just"not"right@example.com
		this\ is"really"not\allowed@example.com
		.me@example.com
		me@example..com
		me.example@com
	The following 7 Emails SHOULD have been VALID:
		email@[123.123.123.123]
		"email"@example.com
		much."more\ unusual"@example.com
		"spaces may be quoted"@example.com
		!#$%&'+-/=.?^`{|}~@[1.0.0.127]
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
		me(this is a comment)@example.com


====================================================================================================
=============== BEGIN TESTS FOR Top at "Fighting For a Lost Cause" on May 28th 2010 ================
================================== SOURCE: http://b...content-available-to-author-only...t.ly/1nJF25u ===================================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 1 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			PASSED	email@example
			PASSED	email@-example.com
			FAILED	email@example.web
				found email@example.web
			PASSED	email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 1 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			FAILED	email@[123.123.123.123]
				no email found
			FAILED	"email"@example.com
				no email found
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 5 out of 17 VALID emails.
	FAILED 6 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 0 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			FAILED	"spaces may be quoted"@example.com
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 6 out of 9 VALID emails.
	FAILED 6 out of 16 Validations for Emails from StackOverflow.

================= SUMMARY FOR Top at "Fighting For a Lost Cause" on May 28th 2010 ==================
Top at "Fighting For a Lost Cause" on May 28th 2010 Failed Validation for 13 out of 65 Emails
	The following 12 Emails SHOULD have been VALID:
		user@localserver
		email@[123.123.123.123]
		"email"@example.com
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		"spaces may be quoted"@example.com
		!#$%&'+-/=.?^`{|}~@[1.0.0.127]
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
		me(this is a comment)@example.com
	The following 1 Emails SHOULD have been INVALID:
		email@example.web


====================================================================================================
==================== BEGIN TESTS FOR PHP's `filter_var()` by "Michael Rushton" =====================
================================== SOURCE: http://b...content-available-to-author-only...t.ly/1nJF25u ===================================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 1 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			PASSED	email@example
			PASSED	email@-example.com
			FAILED	email@example.web
				found email@example.web
			PASSED	email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 1 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			FAILED	email@123.123.123.123
				no email found
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			PASSED	much."more\ unusual"@example.com
			PASSED	very.unusual."@".unusual.com@example.com
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 2 out of 17 VALID emails.
	FAILED 3 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 0 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			FAILED	"spaces may be quoted"@example.com
				no email found
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			PASSED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 4 out of 9 VALID emails.
	FAILED 4 out of 16 Validations for Emails from StackOverflow.

====================== SUMMARY FOR PHP's `filter_var()` by "Michael Rushton" =======================
PHP's `filter_var()` by "Michael Rushton" Failed Validation for 8 out of 65 Emails
	The following 7 Emails SHOULD have been VALID:
		user@localserver
		email@123.123.123.123
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		"spaces may be quoted"@example.com
		me(this is a comment)@example.com
	The following 1 Emails SHOULD have been INVALID:
		email@example.web


====================================================================================================
============================= BEGIN TESTS FOR A JS go by a co-worker. ==============================
========================================== SOURCE: dunno ===========================================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 1 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			FAILED	あいうえお@example.com
				found あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			PASSED	email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			PASSED	email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 3 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			FAILED	email@123.123.123.123
				no email found
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 4 out of 17 VALID emails.
	FAILED 7 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			FAILED	me\@example.com
				found me\@example.com
			The Regulair Expression Failed on 1 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 4 out of 9 VALID emails.
	FAILED 5 out of 16 Validations for Emails from StackOverflow.

=============================== SUMMARY FOR A JS go by a co-worker. ================================
A JS go by a co-worker. Failed Validation for 13 out of 65 Emails
	The following 9 Emails SHOULD have been VALID:
		user@localserver
		email@123.123.123.123
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
		me(this is a comment)@example.com
	The following 4 Emails SHOULD have been INVALID:
		あいうえお@example.com
		email@-example.com
		email@example.web
		me\@example.com


====================================================================================================
========== BEGIN TESTS FOR Improvement of Warren Gaebel's Regex, by "Arluison Guillaume" ===========
================================== SOURCE: http://b...content-available-to-author-only...t.ly/1nJF25u ===================================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 1 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			PASSED	email@example
			PASSED	email@-example.com
			PASSED	email@example.web
			PASSED	email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			FAILED	email@[123.123.123.123]
				no email found
			FAILED	"email"@example.com
				no email found
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 5 out of 17 VALID emails.
	FAILED 5 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 0 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			FAILED	"spaces may be quoted"@example.com
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 6 out of 9 VALID emails.
	FAILED 6 out of 16 Validations for Emails from StackOverflow.

============ SUMMARY FOR Improvement of Warren Gaebel's Regex, by "Arluison Guillaume" =============
Improvement of Warren Gaebel's Regex, by "Arluison Guillaume" Failed Validation for 12 out of 65 Emails
	The following 12 Emails SHOULD have been VALID:
		user@localserver
		email@[123.123.123.123]
		"email"@example.com
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		"spaces may be quoted"@example.com
		!#$%&'+-/=.?^`{|}~@[1.0.0.127]
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
		me(this is a comment)@example.com


====================================================================================================
========================== BEGIN TESTS FOR Perl 5.10 Example by "Abigail" ==========================
======================== SOURCE: http://stackoverflow.com/a/1917982/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			PASSED	user@localserver
			The Regulair Expression Failed on 0 out of 6 VALID emails.
	FAILED 0 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			FAILED	Joe Smith <email@example.com>
				found Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			FAILED	.email@example.com
				found .email@example.com
			FAILED	email.@example.com
				found email.@example.com
			FAILED	email..email@example.com
				found email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			FAILED	email@example
				found email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			FAILED	email@example..com
				found email@example..com
			FAILED	Abc..123@example.com
				found Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 10 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			FAILED	"email"@example.com
				no email found
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 4 out of 17 VALID emails.
	FAILED 14 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			FAILED	me.@example.com
				found me.@example.com
			FAILED	.me@example.com
				found .me@example.com
			FAILED	me@example..com
				found me@example..com
			FAILED	me.example@com
				found me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 4 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			FAILED	"spaces may be quoted"@example.com
				no email found
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			PASSED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 4 out of 9 VALID emails.
	FAILED 8 out of 16 Validations for Emails from StackOverflow.

============================ SUMMARY FOR Perl 5.10 Example by "Abigail" ============================
Perl 5.10 Example by "Abigail" Failed Validation for 22 out of 65 Emails
	The following 14 Emails SHOULD have been INVALID:
		Joe Smith <email@example.com>
		.email@example.com
		email.@example.com
		email..email@example.com
		email@example
		email@-example.com
		email@example.web
		email@111.222.333.44444
		email@example..com
		Abc..123@example.com
		me.@example.com
		.me@example.com
		me@example..com
		me.example@com
	The following 8 Emails SHOULD have been VALID:
		"email"@example.com
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		"spaces may be quoted"@example.com
		me(this is a comment)@example.com


====================================================================================================
================== BEGIN TESTS FOR RFC 5322 standard Example by "MichaelRushton" ===================
======================== SOURCE: http://stackoverflow.com/a/1771483/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			PASSED	user@localserver
			The Regulair Expression Failed on 0 out of 6 VALID emails.
	FAILED 0 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			FAILED	email@example.com (Joe Smith)
				found email@example.com (Joe Smith)
			FAILED	email@example
				found email@example
			PASSED	email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 4 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			PASSED	much."more\ unusual"@example.com
			PASSED	very.unusual."@".unusual.com@example.com
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 1 out of 17 VALID emails.
	FAILED 5 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			FAILED	me.example@com
				found me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 1 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			PASSED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
			PASSED	me(this is a comment)@example.com
			The Regulair Expression Failed on 2 out of 9 VALID emails.
	FAILED 3 out of 16 Validations for Emails from StackOverflow.

==================== SUMMARY FOR RFC 5322 standard Example by "MichaelRushton" =====================
RFC 5322 standard Example by "MichaelRushton" Failed Validation for 8 out of 65 Emails
	The following 5 Emails SHOULD have been INVALID:
		email@example.com (Joe Smith)
		email@example
		email@example.web
		email@111.222.333.44444
		me.example@com
	The following 3 Emails SHOULD have been VALID:
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com


====================================================================================================
================== BEGIN TESTS FOR RFC 5321 standard Example by "MichaelRushton" ===================
======================== SOURCE: http://stackoverflow.com/a/1771483/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			PASSED	user@localserver
			The Regulair Expression Failed on 0 out of 6 VALID emails.
	FAILED 0 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			FAILED	email@example
				found email@example
			PASSED	email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 3 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 3 out of 17 VALID emails.
	FAILED 6 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			FAILED	me.example@com
				found me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 1 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			PASSED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 3 out of 9 VALID emails.
	FAILED 4 out of 16 Validations for Emails from StackOverflow.

==================== SUMMARY FOR RFC 5321 standard Example by "MichaelRushton" =====================
RFC 5321 standard Example by "MichaelRushton" Failed Validation for 10 out of 65 Emails
	The following 4 Emails SHOULD have been INVALID:
		email@example
		email@example.web
		email@111.222.333.44444
		me.example@com
	The following 6 Emails SHOULD have been VALID:
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		me(this is a comment)@example.com


====================================================================================================
======================== BEGIN TESTS FOR Basic Example by "MichaelRushton" =========================
======================== SOURCE: http://stackoverflow.com/a/1771483/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			PASSED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
			PASSED	just"not"right@example.com
			PASSED	this is"not\allowed@example.com
			PASSED	this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 0 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 1 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			PASSED	Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			PASSED	あいうえお@example.com
			PASSED	email@example.com (Joe Smith)
			PASSED	email@example
			PASSED	email@-example.com
			FAILED	email@example.web
				found email@example.web
			PASSED	email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			PASSED	"(),:;<>[\]@example.com
			PASSED	just"not"right@example.com
			PASSED	this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 1 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			FAILED	email@123.123.123.123
				no email found
			FAILED	email@[123.123.123.123]
				no email found
			FAILED	"email"@example.com
				no email found
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			FAILED	much."more\ unusual"@example.com
				no email found
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 6 out of 17 VALID emails.
	FAILED 7 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			PASSED	me\@example.com
			The Regulair Expression Failed on 0 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			FAILED	spaces\ are\ allowed@example.com
				no email found
			FAILED	"spaces may be quoted"@example.com
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
				no email found
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			FAILED	me(this is a comment)@example.com
				no email found
			The Regulair Expression Failed on 6 out of 9 VALID emails.
	FAILED 6 out of 16 Validations for Emails from StackOverflow.

========================== SUMMARY FOR Basic Example by "MichaelRushton" ===========================
Basic Example by "MichaelRushton" Failed Validation for 14 out of 65 Emails
	The following 13 Emails SHOULD have been VALID:
		user@localserver
		email@123.123.123.123
		email@[123.123.123.123]
		"email"@example.com
		much."more\ unusual"@example.com
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		spaces\ are\ allowed@example.com
		"spaces may be quoted"@example.com
		!#$%&'+-/=.?^`{|}~@[1.0.0.127]
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
		me(this is a comment)@example.com
	The following 1 Emails SHOULD have been INVALID:
		email@example.web


====================================================================================================
=========================== BEGIN TESTS FOR Simple and Lazy by "BalusC" ============================
======================== SOURCE: http://stackoverflow.com/a/1931322/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			FAILED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
				found a"b(c)d,e:f;g<h>i[j\k]l@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this is"not\allowed@example.com
				found this is"not\allowed@example.com
			FAILED	this\ still\"not\allowed@example.com
				found this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 4 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 5 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			FAILED	Joe Smith <email@example.com>
				found Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			PASSED	.email@example.com
			PASSED	email.@example.com
			PASSED	email..email@example.com
			FAILED	あいうえお@example.com
				found あいうえお@example.com
			FAILED	email@example.com (Joe Smith)
				found email@example.com (Joe Smith)
			PASSED	email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			PASSED	email@example..com
			PASSED	Abc..123@example.com
			FAILED	"(),:;<>[\]@example.com
				found "(),:;<>[\]@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this\ is"really"not\allowed@example.com
				found this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 9 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			PASSED	much."more\ unusual"@example.com
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 2 out of 17 VALID emails.
	FAILED 11 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			PASSED	me.@example.com
			PASSED	.me@example.com
			PASSED	me@example..com
			PASSED	me.example@com
			FAILED	me\@example.com
				found me\@example.com
			The Regulair Expression Failed on 1 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			PASSED	spaces\ are\ allowed@example.com
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			PASSED	me(this is a comment)@example.com
			The Regulair Expression Failed on 2 out of 9 VALID emails.
	FAILED 3 out of 16 Validations for Emails from StackOverflow.

============================= SUMMARY FOR Simple and Lazy by "BalusC" ==============================
Simple and Lazy by "BalusC" Failed Validation for 19 out of 65 Emails
	The following 14 Emails SHOULD have been INVALID:
		a"b(c)d,e:f;g<h>i[j\k]l@example.com
		just"not"right@example.com
		this is"not\allowed@example.com
		this\ still\"not\allowed@example.com
		Joe Smith <email@example.com>
		あいうえお@example.com
		email@example.com (Joe Smith)
		email@-example.com
		email@example.web
		email@111.222.333.44444
		"(),:;<>[\]@example.com
		just"not"right@example.com
		this\ is"really"not\allowed@example.com
		me\@example.com
	The following 5 Emails SHOULD have been VALID:
		user@localserver
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]


====================================================================================================
========================== BEGIN TESTS FOR The Laziest by "IceMetalPunk" ===========================
================================== SOURCE: http://b...content-available-to-author-only...t.ly/1pGmoYO ===================================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			PASSED	A@b@c@example.com
			FAILED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
				found a"b(c)d,e:f;g<h>i[j\k]l@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this is"not\allowed@example.com
				found this is"not\allowed@example.com
			FAILED	this\ still\"not\allowed@example.com
				found this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 4 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			FAILED	user@localserver
				no email found
			The Regulair Expression Failed on 1 out of 6 VALID emails.
	FAILED 5 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			PASSED	#@%^%#$@#$@#.com
			PASSED	@example.com
			FAILED	Joe Smith <email@example.com>
				found Joe Smith <email@example.com>
			PASSED	email.example.com
			PASSED	email@example@example.com
			FAILED	.email@example.com
				found .email@example.com
			FAILED	email.@example.com
				found email.@example.com
			FAILED	email..email@example.com
				found email..email@example.com
			FAILED	あいうえお@example.com
				found あいうえお@example.com
			FAILED	email@example.com (Joe Smith)
				found email@example.com (Joe Smith)
			PASSED	email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			FAILED	email@example..com
				found email@example..com
			FAILED	Abc..123@example.com
				found Abc..123@example.com
			FAILED	"(),:;<>[\]@example.com
				found "(),:;<>[\]@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this\ is"really"not\allowed@example.com
				found this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 14 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			PASSED	much."more\ unusual"@example.com
			FAILED	very.unusual."@".unusual.com@example.com
				no email found
			FAILED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
				no email found
			The Regulair Expression Failed on 2 out of 17 VALID emails.
	FAILED 16 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	me@
			PASSED	@example.com
			FAILED	me.@example.com
				found me.@example.com
			FAILED	.me@example.com
				found .me@example.com
			FAILED	me@example..com
				found me@example..com
			PASSED	me.example@com
			FAILED	me\@example.com
				found me\@example.com
			The Regulair Expression Failed on 4 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			FAILED	name\@tag@example.com
				no email found
			PASSED	spaces\ are\ allowed@example.com
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#$%&'+-/=.?^`{|}~@[1.0.0.127]
			FAILED	!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]
				no email found
			PASSED	me(this is a comment)@example.com
			The Regulair Expression Failed on 2 out of 9 VALID emails.
	FAILED 6 out of 16 Validations for Emails from StackOverflow.

============================ SUMMARY FOR The Laziest by "IceMetalPunk" =============================
The Laziest by "IceMetalPunk" Failed Validation for 27 out of 65 Emails
	The following 22 Emails SHOULD have been INVALID:
		a"b(c)d,e:f;g<h>i[j\k]l@example.com
		just"not"right@example.com
		this is"not\allowed@example.com
		this\ still\"not\allowed@example.com
		Joe Smith <email@example.com>
		.email@example.com
		email.@example.com
		email..email@example.com
		あいうえお@example.com
		email@example.com (Joe Smith)
		email@-example.com
		email@example.web
		email@111.222.333.44444
		email@example..com
		Abc..123@example.com
		"(),:;<>[\]@example.com
		just"not"right@example.com
		this\ is"really"not\allowed@example.com
		me.@example.com
		.me@example.com
		me@example..com
		me\@example.com
	The following 5 Emails SHOULD have been VALID:
		user@localserver
		very.unusual."@".unusual.com@example.com
		very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
		name\@tag@example.com
		!#$%&'+-/=.?^`{|}~@[IPv6:0123:4567:89AB:CDEF:0123:4567:89AB:CDEF]


====================================================================================================
=========================== BEGIN TESTS FOR Practically Useless by "Mac" ===========================
======================== SOURCE: http://stackoverflow.com/a/6756736/1301994 ========================
====================================================================================================

	Testing Example Emails from WikiPedia
	SOURCE: http://e...content-available-to-author-only...a.org/wiki/Email_address
		The following 6 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	Abc.example.com
			FAILED	A@b@c@example.com
				found A@b@c@example.com
			FAILED	a"b(c)d,e:f;g<h>i[j\k]l@example.com
				found a"b(c)d,e:f;g<h>i[j\k]l@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this is"not\allowed@example.com
				found this is"not\allowed@example.com
			FAILED	this\ still\"not\allowed@example.com
				found this\ still\"not\allowed@example.com
			The Regulair Expression Failed on 5 out of 6 INVALID emails.
		The following 6 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	niceandsimple@example.com
			PASSED	very.common@example.com
			PASSED	a.little.lengthy.but.fine@dept.example.com
			PASSED	disposable.style.email.with+symbol@example.com
			PASSED	other.email-with-dash@example.com
			PASSED	user@localserver
			The Regulair Expression Failed on 0 out of 6 VALID emails.
	FAILED 5 out of 12 Validations for Emails from WikiPedia.

	Testing Example Emails from CodeFool
	SOURCE: http://c...content-available-to-author-only...r.com/post/15288874550/list-of-valid-and-invalid-email-addresses
		The following 20 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			PASSED	plainaddress
			FAILED	#@%^%#$@#$@#.com
				found #@%^%#$@#$@#.com
			PASSED	@example.com
			FAILED	Joe Smith <email@example.com>
				found Joe Smith <email@example.com>
			PASSED	email.example.com
			FAILED	email@example@example.com
				found email@example@example.com
			FAILED	.email@example.com
				found .email@example.com
			FAILED	email.@example.com
				found email.@example.com
			FAILED	email..email@example.com
				found email..email@example.com
			FAILED	あいうえお@example.com
				found あいうえお@example.com
			FAILED	email@example.com (Joe Smith)
				found email@example.com (Joe Smith)
			FAILED	email@example
				found email@example
			FAILED	email@-example.com
				found email@-example.com
			FAILED	email@example.web
				found email@example.web
			FAILED	email@111.222.333.44444
				found email@111.222.333.44444
			FAILED	email@example..com
				found email@example..com
			FAILED	Abc..123@example.com
				found Abc..123@example.com
			FAILED	"(),:;<>[\]@example.com
				found "(),:;<>[\]@example.com
			FAILED	just"not"right@example.com
				found just"not"right@example.com
			FAILED	this\ is"really"not\allowed@example.com
				found this\ is"really"not\allowed@example.com
			The Regulair Expression Failed on 17 out of 20 INVALID emails.
		The following 17 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	email@example.com
			PASSED	firstname.lastname@example.com
			PASSED	email@subdomain.example.com
			PASSED	firstname+lastname@example.com
			PASSED	email@123.123.123.123
			PASSED	email@[123.123.123.123]
			PASSED	"email"@example.com
			PASSED	1234567890@example.com
			PASSED	email@example-one.com
			PASSED	_______@example.com
			PASSED	email@example.name
			PASSED	email@example.museum
			PASSED	email@example.co.jp
			PASSED	firstname-lastname@example.com
			PASSED	much."more\ unusual"@example.com
			PASSED	very.unusual."@".unusual.com@example.com
			PASSED	very."(),:;<>[]".VERY."very@\ "very".unusual@strange.example.com
			The Regulair Expression Failed on 0 out of 17 VALID emails.
	FAILED 17 out of 37 Validations for Emails from CodeFool.

	Testing Example Emails from StackOverflow
	SOURCE: http://stackoverflow.com/questions/297420/list-of-email-addresses-that-can-be-used-to-test-a-javascript-validation-script
		The following 7 Emails should be INVALID
		The reported status indicates if the result matches the expected.
			FAILED	me@
				found me@
			PASSED	@example.com
			FAILED	me.@example.com
				found me.@example.com
			FAILED	.me@example.com
				found .me@example.com
			FAILED	me@example..com
				found me@example..com
			FAILED	me.example@com
				found me.example@com
			FAILED	me\@example.com
				found me\@example.com
			The Regulair Expression Failed on 6 out of 7 INVALID emails.
		The following 9 Emails should be VALID
		The reported status indicates if the result matches the expected.
			PASSED	me@example.com
			PASSED	a.nonymous@example.com
			PASSED	name+tag@example.com
			PASSED	name\@tag@example.com
			PASSED	spaces\ are\ allowed@example.com
			PASSED	"spaces may be quoted"@example.com
			PASSED	!#