Article View: comp.mail.sendmail
Article #3518Re: Oh no, its the " at " question again ...
From: Larry Parmelee
Date: Wed, 14 Mar 1990 12:53
Date: Wed, 14 Mar 1990 12:53
17 lines
1096 bytes
1096 bytes
The "at" -> "@" translation is a pretty old, no longer current standard, and generally a Bad Thing to do on the Internet these days. Drop it if at all possible. If you MUST support this translation, about the only safe way to do it is to define a Class consisting of all the mail punctuation characters, and change only those "at"s which are not preceeded or followed by one of the punctuators. Define a class "P" of all the punctuation characters: CP. : % @ ! ^ = / [ ] Using class "P", translate "at"s: R$*$~Pat$~P$* $1$2@$3$4 -Larry Parmelee parmelee@cs.cornell.edu
Technical Details
Message-ID:
<38626@cornell.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!cornell!parmeleeReferences:
<7256.9003131732@rigel.mrc-apu.cam.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!cornell!parmelee From: parmelee@wayback.cs.cornell.edu (Larry Parmelee) Newsgroups: comp.mail.sendmail Subject: Re: Oh no, its the " at " question again ... Message-ID: <38626@cornell.UUCP> Date: 14 Mar 90 12:53:53 GMT References: <7256.9003131732@rigel.mrc-apu.cam.ac.uk> Sender: nobody@cornell.UUCP Reply-To: parmelee@wayback.cs.cornell.edu (Larry Parmelee) Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 17