Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Bug! Rebol's parsing of email addresses is incorrect.

From: al::bri::xtra::co::nz at: 10-Feb-2001 11:56

Bug! Rebol's parsing of email addresses is incorrect. This applies to all current experimentals
>> type? a@
== email!
>> type? a@.
== email!
>> type? [a--host].
== email! Note that Rebol should use a parse rule for the host portion of the email value something like: DomainLabel: [Alpha any UrlCharacters] Domain: [DomainLabel any ["." DomainLabel]] Host: [Domain | IpAddress] Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/