Visual Studio代码使用前缀r和R不同的方式突出显示字符串文字:
r
R
Match = re.search(r"\d{2} \d{4} \d{2}:\d{2}:\d{2})", Output) Match = re.search(R"\d{2} \d(4} \d{2}:\d{2}:\d{2})", Output)
这两个符号之间的含义是否有区别?用于不同的约定r和R?
python string visual-studio-code
python ×1
string ×1
visual-studio-code ×1