The new regex considers Windows as an OS, and the added array helps reduce merge conflicts for the future.