python正则表达式

re模块

  • compile
  • match search findall
  • group groups

正则表达式常用格式:

  字符:\d \w \t  . 

  次数:* + ? {m} {m,n}

 

posted @ 2015-11-01 16:59  muzinan110  阅读(117)  评论(0编辑  收藏  举报