Python正则表达式之re模块使用
1.正则表达式模块:import re
2.第一个正则表达式:
re.compile(r'imooc') pattern.match('imooc python')
r‘imooc’ -> Pattern -> Match -> Result