[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e417e506c23ad56b2618204071c86e8a6ec2cb85.camel@perches.com>
Date: Sun, 18 Oct 2020 00:11:20 -0700
From: Joe Perches <joe@...ches.com>
To: Dwaipayan Ray <dwaipayanray1@...il.com>
Cc: linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel <linux-kernel@...r.kernel.org>,
Lukas Bulwahn <lukas.bulwahn@...il.com>
Subject: Re: [PATCH v5] checkpatch: add new exception to repeated word check
On Sun, 2020-10-18 at 12:10 +0530, Dwaipayan Ray wrote:
> print index(" \t.,;?!", '');
>
> It output 0 in my case. So last words on a line seems to work.
> I don't know if this changes with the perl version though.
>
> So given this, will it be necessary to change end_char to ' ' ?
> or perhaps change both start_char and end_char to a ' ' to maintain
> uniformity?
It seems it's fine even back to perl 5.6, so it's fine as is.
cheers, Joe
Powered by blists - more mailing lists