既然re.sub()返回整个修改/未修改的字符串,有没有办法检查是否re.sub()已经成功修改了文本,而没有搜索输出re.sub()?
re.sub()
python regex
python ×1
regex ×1