Detect Zones and Cores for thermal sensors using regex, it fixes #3337