email edit

Jean-Pierre A. Radley appl at jpr.com
Sat Nov 10 17:19:34 PST 2007


Jay R. Ashworth propounded (on Fri, Nov 09, 2007 at 11:06:30PM -0500):
| I remember we dabbled at this last year, sometime, but I don't recall
| if we came up with a working edit.
| 
| I have
| 
| lhsc   <A | N | "_" | "-" | "+" | "%"
| lhs    <{lhsc}
| rhsc   <lhsc
| rhs    <{rhsc} "." {*}
| email  <lhs "@" rhs
| 
| But rhs, which should not match "baylink.", unless I misunderstand the
| edit language rather badly after 20 years... does.
| 
| {matches} are greedy, I think, and that's fine, but rhsc doesn't
| *match* a dot.  What am I missing, folks?

Am I wrong that FQDNs cannot contain '_', '+' or '%' ?
If so, rhsc ought not be identical to lhsc.

-- 
JP


More information about the Filepro-list mailing list