replace incorrect regex with eq and lc, will work on Windows again