[prev in list] [next in list] [prev in thread] [next in thread]
List: coreutils-bug
Subject: bug#49239: Unexpected results with sort -V
From: Kamil Dudka <kdudka () redhat ! com>
Date: 2021-06-28 17:54:25
Message-ID: 9910662.nUPlyArG6x () nbkamil
[Download RAW message or body]
On Monday, June 28, 2021 6:52:14 PM CEST Michael Debertol wrote:
> I was trying to say that the regex is not followed in two cases:
>
> - when there are two dots followed by [A-Za-z~], the second dot should
> be matched, but it is not.
>
> An example is "foo..a": In this case ".a" should be matched, but it is
> not (nothing is matched)
>
> - when there's a trailing dot, the trailing dot is matched even though
> it is not followed by anything
>
> e.g. "foo." matches the "." as the file ending, but it should not match
> a file ending in this case.
>
> I hope it's clearer now,
>
> Michael
You are right. The matching algorithm was not implemented correctly and
the patch you attached fixes it. Sorry for missing it in my previous reply.
Kamil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic