第九章 Python 标准库参考
Python re 模块提供正则表达式,可按模式搜索、匹配、替换和拆分文本。使用前要 import re。
import re
search
match
findall
sub
split
compile