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" <[email protected]>). > > 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Stefan Richter <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- References:
- [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: [email protected]
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Alan Cox <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Stefan Richter <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: "Kok, Auke" <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Joe Perches <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Joe Perches <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Cal Peake <[email protected]>
- Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- From: Joe Perches <[email protected]>
- [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- Prev by Date: [PATCH 3/3] /drivers/net ucc_geth ioremap balancing/returncode check (resend)
- Next by Date: Re: [Bugme-new] [Bug 8885] New: Unable to access memory card reader anymore
- Previous by thread: Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- Next by thread: Re: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
- Index(es):