fix regular expression for Windows 8.1
Merge pull request #2 from Keanu/master

fix regular expression for Windows 8.1