Messages in this thread |  | | | Subject | Re: [patch v3] checkpatch: Signature format verification | | From | Joe Perches <> | | Date | Mon, 23 May 2011 09:11:45 -0700 |
| |
On Mon, 2011-05-23 at 20:51 +0530, anish wrote: > From: anish kumar <anish198519851985@gmail.com> > This patch generates warning when there is no space between > the patch submitter and successive mail-id. [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > + if (!($line =~ /^\s*$sign/)) {
if ($line !~ /etc...)
> + WARN("$sign is the preferred form\n" . > + $herecurr); > + } > + if ($line =~ /^\s*$sign(.*)/i) { > + if($1 !~ /^\s*(\s[a-zA-Z]*.*)/i) {
Email addresses may start with a quote (") or a digit.
Space between if and (
> + WARN("Space required after $sign\n" . > + $herecurr); > + } > + if($1 !~ /[\sa-zA-Z]+\s<.*>/i) {
Space between if and (
|  |