在Python中使用正则表达式编译有什么好处吗?
h = re.compile('hello') h.match('hello world')
VS
re.match('hello', 'hello world')
python regex
python ×1
regex ×1