📜  re.add python 代码示例

📅  最后修改于: 2022-03-11 14:46:32.640000             🧑  作者: Mango

代码示例2
>>> import re
>>> text = 'Do you get it yet?'
>>> re.sub(r'(get)', r'\1@', text)
'Do you get@ it yet?'