Version Check with Aplha Numeric

(imported topic written by whoseit91)

Hi

Can a version comparision cope with alpha numeric values.

Code:

release of operating system as version > “1.2.3.4.PTF.1234”

As you may have guessed this is for a linux OS.

Thanks in advance.

(imported comment written by SystemAdmin)

I had thought otherwise, but our “version” inspector does not seem to deal with alpha characters:

Q: "1.2.1" as version
A: 1.2.1
T: 0.026 ms
I: singular version
 
Q: "1.2.PTF" as version
A: 1.2.0
T: 0.026 ms
I: singular version

(imported comment written by robbieb91)

Are there any plans to allow the version check to handle alpha-numeric? what about special characters as well? ( “-” for example)

thanks,

(imported comment written by SystemAdmin)

I’ve gone ahead and filed a bug on this.

-Zak

(imported comment written by robbieb91)

much appreciated!

(imported comment written by SystemAdmin)

I was wrong on this. The

windows

file versions are expected to be a set of up to 4 numbers, however the *nix version inspector has another check to handle alpha strings, so you should be able to do exactly what you want here.

Sorry for the confusion.

-Zak