in reply to Comparing Version Numbers

It seems all of these names use the same style as RPM files, in which case you can simply extract the three fields (package, version, release) with:
/^(.+)-([^-]+)-([^-]+)$/
or if you know they're in the right format even just /(.*)-(.*)-(.*)/

Comparison however is a different story. Maybe there's a module for it, but with something like "ogle1", I'm not even sure there's a canonical way of comparing those