From: Junio C Hamano Date: Thu, 03 Mar 2022 19:47:25 GMT Subject: Re: [PATCH] userdiff: add builtin driver for kotlin language Message-ID: In-Reply-To: <76d46b15-f6c0-b8da-87e8-a992047b9a6a@gmail.com> Jaydeep Das writes: > How about modifying the number match regex to: > > `[0-9._]+([Ee][-+]?[0-9]+)?[fFlLuU]*[^a-zA-Z]` ? > > The `[^a-zA-Z]` in the end would make sure to not match > the `.F` in `X.Find`. Do we want to match "foo.F"? If requiring at least one non-alpha after [fFlLuU]* is OK, then please ignore this message ;-) Thanks.