![]()
From: Paul Haldane (Paul.Haldane@newcastle.ac.uk)
Date: Fri Apr 16 1999 - 11:09:05 CDT
I have a from line that I reckon the parser handles wrongly
** IN: "Paul Haldane (I'm only doing this to show you how)"
<Paul.Haldane@xx.yy.zz>
FOUND <>
FOUND ()
EMAIL: Paul.Haldane@xx.yy.zz
COMMENT: I'm only doing this to show you how
I think the COMMENT should be
Paul Haldane (I'm only doing this to show you how)
Actually, I've just found another one - same problem
** IN: "Xxxx Yyyyyy 7, Ccccccccccc Terrace, Jjjjjjjj Newcastle upon Tyne.
Tel XXXX-XXXXXXX (home), XXXX-XXXXXXX (surgery)"
<Xxxx@Yyyyyyyy.Zzzzz.co.uk>
FOUND <>
FOUND ()
EMAIL: Xxxx@Yyyyyyyy.Zzzzz.co.uk
COMMENT: home
Paul
On Tue, 13 Apr 1999, Daniel Stenberg wrote:
> Hi
>
> I'm aware that the name/email parser in hypermail is still very lame. I wrote
> a new one a few versions ago, but I definitely had the wrong approach and
> just made another bad and buggy implementation.
>
> I attach two files for test and comments. One is my test-parser (C source)
> and the other one is a file filled with From:-lines that may appear.
>
> I would be very interested to hear from you if you can get it to fail on a
> From: line that may appear.
>
> If you have improvements or have a better parser, feel free to submit
> changes, suggestions and ideas!
...
![]()