Python Create Regex From Variable Decelerations