[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <46C212AA.1040409@s5r6.in-berlin.de>
Date: Tue, 14 Aug 2007 22:38:02 +0200
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Cal Peake <cp@...olutedigital.net>
CC: Joe Perches <joe@...ches.com>,
"Kok, Auke" <auke-jan.h.kok@...el.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, Eng.Linux@...i.com
Subject: Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
Cal Peake wrote:
> On Mon, 13 Aug 2007, Joe Perches wrote:
>
>> On Tue, 2007-08-14 at 00:29 -0400, Cal Peake wrote:
>>> Prolly /[^a-z0-9]/i would the safest bet. Also don't forget to escape
>>> double quotes (e.g. "Jonathan \"Jon\" Doe" <jon@...mple.net>).
>> A-Z and [[:space:]] are OK too.
>
> The 'i' at the end of the regex means case-insensitive ;) but yes, I
> forgot whitespace. So something like:
>
> if ($name =~ /[^a-z0-9[:space:]]/i) {
> quote_name;
> }
>
>> I skimmed the spec, but nothing jumped out at me.
>
> My recommendation was mostly based on what pine does. It seems to be a
> pretty sane MUA...
Better: Dig out the respective RFCs or/and use a library (perl module
or whatever) for the recoding into mail header formats.
--
Stefan Richter
-=====-=-=== =--- -===-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists