Fix the nx_os type regex