re 正则表达式与文本提取 | Python
本章覆盖:re.search / match / fullmatch;findall / finditer;sub / split;分组与命名分组;raw string 与转义;简单解析优先普通字符串 API,复杂模式再用正则。
本章知识点
- re.search / match / fullmatch
- findall / finditer
- sub / split
- 分组与命名分组
- raw string 与转义
- 简单解析优先普通字符串 API,复杂模式再用正则