Python Regex Replace With Lambda