Because of packages like 'xen-tools-4.1.3_3', let's use regex.
Merge pull request #8721 from s0undt3ch/0.17

Because of packages like 'xen-tools-4.1.3_3', let's use regex.