replace $ and : with parameter if a digit follows

resolves $35