jackfrued / jackfrued/Python-100-Days
12.字符串和正则表达式 部分错误
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 187k
- Forks
- 55.8k
- PR merge metrics
- No merged PRs in 30d
Description
以下均在Python3.9.13测试
表格中命名组的格式应为"(?Pexp)",而不是"(?exp)",少了"P"

格式"(?<=exp)"和"(?=exp)"解释不正确,按python文档的说明,没有什么exp之前或之后的位置。二者都是匹配当前位置,只是exp匹配成功后需要继续匹配后续模式时,前者从exp对应的子串结尾继续,后者从exp对应的子串开头继续

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
Locate the Chapter 12 strings and regular expressions material and compare its named-group and lookaround explanations with the Python documentation. Correct the missing “P” and the descriptions of (?<=exp) and (?=exp), then verify the revised examples against Python 3.9.13.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100