首页 新闻 会员 周边
1
回答数

已关闭问题 10 re.sub()替换

在re.sub()官方文档中有这样一个例子 >>>re.sub(r'def\s+([a-zA-Z_][a-zA-Z_0-9]*)\s*\(\s*\):', r'static PyObject*\npy