replace incorrect regex with eq and lc, will work on Windows again
Merge pull request #3 from chorny/master

Fix for Windows