modified getCPU to use re module, should be much more efficient
modified getHostname to use re module, should be much more efficient, if version is < 4.13.x
modified getFQDN to use re module, should be much more efficient, if version is < 4.13.x