This should be the full version, 1.8.7 on RHEL6 for example. The regex must strip the ```.7```.