lkml.org 
[lkml]   [2011]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch v3] checkpatch: Signature format verification
From
Date
On Mon, 2011-05-23 at 22:03 +0530, anish singh wrote:
> \s[a-zA-Z]* => this is a regular expression for name & space b/w
> Last/First name
> Ex: anish kumar
> .* => It is used to grep whatever follows name...in our context
> mail-id
> Ex: abc@bbc.com.
> So, $1 will contain ...'anish kumar <anish@gmail.com>'

Unless the email contains a quote or a period like:

Signed-off-by: "J. Random Contributor" <jrc@domain.tld>





\
 
 \ /
  Last update: 2011-05-23 18:39    [W:0.110 / U:38.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site