Python Regex 模块
单选题 中等
题目
哪个函数从 `re` 模块查找所有 matches in 字符串?
提示
函数 name 包含 '所有'.
解释
re.findall() 返回列表的 所有非-overlapping matches. re.match() 仅 matches at 开始的 字符串. re.搜索() 查找首先 match anywhere. Use re.findall() 当你 想要每个 match.
相关资源
相关课程
- Regex
re 模块.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。