Dub and '1.2.3' type version tags

S.G S.G at sdfsdfsfsdfsdf.gs
Mon Nov 25 11:28:55 UTC 2019

On Monday, 25 November 2019 at 09:11:06 UTC, FeepingCreature 
> Semver 2.0.0 ( https://semver.org/ ) no longer requires the 
> leading 'v' in version tags. What's the opinion of the 
> community on whether dub should be changed to follow suit, ie. 
> not require 'v' as well? (It's a trivial change code-wise.

Yes it should.

The 'v' allows an early detection of invalid cases. if not 'v' 
then [0-9], bam you can reject directly. But since we don't talk 
about parsing 10 Megs of data that's just doesn't really matter.

More information about the Digitalmars-d mailing list