Re: [patch v3] checkpatch: Signature format verification

From: Joe Perches
Date: Mon May 23 2011 - 13:18:43 EST


On Mon, 2011-05-23 at 22:36 +0530, anish singh wrote:
> if ($1 !~ /[\sa-zA-Z\"]*\s<.*>/i) {
> WARN("Space required b/w Full Name & Mail-id:\n" .
> $herecurr);
> }
> Quote has been taken care too now.

If you're going to try to validate email addresses,
please do it reasonably correctly or not at all.

At a minimum you need to add digits, single quote,
period, and comma.

Look at git-send-email.perl or scripts/get_maintainer.pl
for email address validation samples.


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