escape $ in character class