Re: binary NMUs and version numbers
Anthony Towns <email@example.com> writes:
> Goswin von Brederlow wrote:
>> Anthony Towns <firstname.lastname@example.org> writes:
>>>That'd mean REJECTing uploads whose versions match
> ^ ^
> First + is literal, second + is "one or more". One should be
> escaped. Which one? Depends whether it's a regexp or an eregexp... :-/
>> No, why?
> Because 1.2-1~beta+b1 >> 1.2-1~beta1.
> That regexp is rejecting uploads where there *isn't* a number before
> the +. '[^0-9]\+[a-z0-9]+$' (as an eregexp) might be better.
Ahh, you mean reject the +b1 and not the source upload. Got you.