Forgot to allow variable names to contain _ and $ in substitutions.