Enable $1 replacements within python parser