Messages in this thread | | | Subject | Re: [patch v3] checkpatch: Signature format verification | From | Joe Perches <> | Date | Mon, 23 May 2011 10:18:37 -0700 |
| |
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.
| |