[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1306523288.31864.29.camel@Joe-Laptop>
Date: Fri, 27 May 2011 12:08:08 -0700
From: Joe Perches <joe@...ches.com>
To: Manish Kumar Singh <man.k1983@...il.com>
Cc: anish <anish198519851985@...il.com>, davej@...hat.com,
rostedt@...dmis.org, apw@...dowen.org, akpm@...ux-foundation.org,
vapier@...too.org, linux-kernel@...r.kernel.org
Subject: Re: [patch v4] checkpatch: Signature format verification
On Sat, 2011-05-28 at 00:28 +0530, Manish Kumar Singh wrote:
> On Fri, May 27, 2011 at 11:59 PM, Joe Perches <joe@...ches.com> wrote:
[]
> 8 bit chars, digits?
> What is 8 bit char...could you describe it?
An ascii char with the high order bit set.
Any char from 128 to 255.
[]
> For the 3rd time, please use this form:
> if ($line =~ /^(\s*)($ValidSignatures)(\s*)(.*)$/i) {
> and if you really want email format validation,
> use a separate function.
[]
> Problem with your way of doing is if anyone misses space between
> "sign" & name,
> the regular expression (/^(\s*)($ValidSignatures)(\s*)(.*)$/i )
> doesn't match
That's incorrect. Try it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists