Removed trailing $, it can cause matches to fail on Windows.