The fr prefix can combine f and r flag.
But when it comes to the regex's exact match, it seems that it can't format the raw string well:
import re
RE1 = r'123'
RE2 = re.compile(fr'@{3} {RE1}')
Then, the RE2.pattern will become '@3 123',
but what I want is '@{3} 123'.
@{3}? Is the3a placeholder, or is this literal text?@{3}means exact match@3 times here,3is not a placeholder.