selfteaching / selfteaching/selfteaching-python-camp
【自学内容】 正则表达式中\s\w等代码的功能汇总
Open
Nobody has claimed this yet.
学习素材分享
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
- 代码:.
功能:匹配[ ]中列举的字符 - 代码:\d
功能:匹配数字,即0-9 - 代码:\D
功能:匹配非数字,即不是数字 - 代码:\s
功能:匹配空白,即 空格,tab键3. 代码: - 代码:\S
功能:匹配非空白 - 代码:\w
功能:匹配非特殊字符,即a-z、A-Z、0-9、_、汉字 - 代码:\W
功能:匹配特殊字符,即非字母、非数字、非汉字
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Issue #798 provides a Chinese-language summary of regular-expression tokens such as ., \d, \s, \w and their complements, but names no file, test, or entry point. First locate where self-study content is maintained; done means adding or correcting this summary there and verifying the descriptions against the project's intended material.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100