lkml.org 
[lkml]   [2007]   [Aug]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 14 Aug 2007 00:52:49 -0400 (EDT)
FromCal Peake <>
SubjectRe: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
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@example.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...

-- 
Cal Peake

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-14 05:32    [from the cache]
©2003-2008