Dollar sign matcher fix

Fixes replaceAll crashing when we are replacing a variable with _$qVar (from sentences such as "Where did you go today?")