Re: [PATCH] checkpatch: Adjust regular expressions in $logFunctions

From: Joe Perches
Date: Tue May 09 2017 - 16:52:42 EST


On Tue, 2017-05-09 at 21:00 +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Tue, 9 May 2017 20:40:51 +0200
>
> * Two alternations contained an empty element. Use the question mark
> metacharacter instead to express optional items in the search pattern.
>
> * Some alternation elements shared a common prefix (like an underscore).
> Improve the specification of this detail by more non-capturing groups.

No thanks. Perl is odd enough already adding more non-capture
groups when the arguments are clearly specified is harder to read.