nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unquoted period in display-name in address field?


From: David Levine
Subject: Re: unquoted period in display-name in address field?
Date: Tue, 31 Aug 2021 05:25:01 -0700

Greg wrote:

> if you could point me at this code?  my case comes up often enough, i
> might be motivated at some point to break ... errr, i mean "attempt to
> fix", this to also work with my case.  (unit tests?)

See sbr/addrsbr.[hc] and sbr/mf.[hc].

I recently added an RFC 5322 address parser to the code base, but it's
not part of the main code.  It's Python but relies on regular express
ions so it shouldn't be too difficult to port to C.  On the gmailapis
branch, it's in docs/contrib/gmailapis/RFC5322.py, with some
nmh-specific addi tions in nmh_addr.py.  There are unit tests as well.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]