escapes other dollar signs to allow completions with multiple dollar signs