Re: [PATCH] mailinfo: better parse email adresses containg parentheses

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Monday, July 21, 2008 - 8:16 pm

"Philippe Bruhat (BooK)" <book@cpan.org> writes:


Hmm, tests?

By the way, that second form parses like this:

	mailbox =
        name-addr =
        display-name angle-addr = "User Name (me) <user@host>"

        display-name =
        phrase = "User Name"
        
        angle-addr = CFWS "<" addr-spec ">" = "(me) <user@host>"

So strictly speaking, shouldn't we be stripping the whole (me) as garbage?
It is not even part of the display-name but is a whitespace equivalent
comment.


        
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] mailinfo: better parse email adresses containg par ..., Philippe Bruhat (BooK), (Mon Jul 21, 6:34 am)
Re: [PATCH] mailinfo: better parse email adresses containg ..., Junio C Hamano, (Mon Jul 21, 8:16 pm)
Re: [PATCH] mailinfo: better parse email adresses containg ..., Philippe Bruhat (BooK), (Tue Jul 22, 3:24 am)