C
Cralis
Hi guys,
I am a string arriving, which contains a software version.
The version comes in the form of major.minor [variant] [pre release].
So, examples are:
13.5
(The most common format)
13.5B
(A beta release)
13.5A
(Alpha release)
Is there a way to validate that the string is suitable? I'm thinking
regex, but ... can it be done that way?
I am a string arriving, which contains a software version.
The version comes in the form of major.minor [variant] [pre release].
So, examples are:
13.5
(The most common format)
13.5B
(A beta release)
13.5A
(Alpha release)
Is there a way to validate that the string is suitable? I'm thinking
regex, but ... can it be done that way?