fix regular expression for Windows 8.1