Fixing the regexp for version number