python regex dynamic replacements (intermediate) anthony explains #456