Subject: bug#8159: file-name-sans-version fails for some git files

From: Reuben Thomas <[email-masked]>
Date: Thu, 3 Mar 2011 22:58:14 +0000

On 3 March 2011 16:23, Andreas Schwab <[email-masked]> wrote:
> Reuben Thomas <[email-masked]> writes:
>
>> \\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\([-[:alnum:]:#@^._~]*[-[:alnum:]:#@^._]+\\)?~\\)
>
> That still matches ".~1~.~2~".

\\(?:~\\|\\.~[-[:alnum:]:#@^._]+\\(~[[:digit:]]+\\)?~\\)

would cope with just the git version scheme, while not swallowing
multiple backup suffixes.

-- 
http://rrt.sc3d.org