human
Format() in Python Regex
assistant
Here is some code to format parameters 'b' and 'a' into plcaeholders in string "{0}\\w{{2}}b{1}\\w{{2}}quarter"

"""{0}\\w{{2}}b{1}\\w{{2}}quarter""".format('b', 'a')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.