| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c210187c-0c13-b0f2-a4c7-96193247a00c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9674:A56AD:1D8F28:2B0CB5:6A4DFF48 |
| html-safe-nonce | 702dc04feca938ef7e161232ae210d226d0584c0bef025b41b29c6fbaafc529c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Njc0OkE1NkFEOjFEOEYyODoyQjBDQjU6NkE0REZGNDgiLCJ2aXNpdG9yX2lkIjoiMjUyNTM5NDY1OTkzNDIwNjE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ff059ea6163cd17d3d67604a78ba23581be8da5c78d710a560f4987518ccf059 |
| hovercard-subject-tag | pull_request:1469439241 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/107825/files |
| twitter:image | https://avatars.githubusercontent.com/u/204654?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/204654?s=400&v=4 |
| og:image:alt | As people sent me comments over the years, I've been collecting user feedback on the Regex HOWTO. This PR will contain the resulting set of changes. It is currently still work-in-progress; I h... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 52bde38e24398476f8eb1e0760c81346c6a00812 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/107825/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107825%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107825%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/107825/files |
| Reload | https://github.com/python/cpython/pull/107825/files |
| Reload | https://github.com/python/cpython/pull/107825/files |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| akuchling | https://github.com/akuchling |
| python:main | https://github.com/python/cpython/tree/main |
| akuchling:update-regex-howto | https://github.com/akuchling/cpython/tree/update-regex-howto |
|
Conversation
26
| https://github.com/python/cpython/pull/107825 |
|
Commits
26
| https://github.com/python/cpython/pull/107825/commits |
|
Checks
2
| https://github.com/python/cpython/pull/107825/checks |
|
Files changed
| https://github.com/python/cpython/pull/107825/files |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
WIP: Various updates to the Regex HOWTO
| https://github.com/python/cpython/pull/107825/files#top |
|
Show all changes
26 commits
| https://github.com/python/cpython/pull/107825/files |
|
9580098
Remove most uses of the word 'obvious'
akuchling Apr 26, 2023
| https://github.com/python/cpython/pull/107825/commits/958009838ca7d289dce27d6cfa8f12421c6ccdad |
|
808e281
Unrecognized escapes now raise a SyntaxWarning, not a DeprecationWarn…
akuchling Apr 26, 2023
| https://github.com/python/cpython/pull/107825/commits/808e281569a4aadf4f04f22f922e1fda5bfd1305 |
|
88bbe21
Add paragraph break
akuchling May 3, 2023
| https://github.com/python/cpython/pull/107825/commits/88bbe21c07867e09db5d9c28d390b368bb31f822 |
|
bdf44f2
Remove extra parathesis from an example
akuchling May 3, 2023
| https://github.com/python/cpython/pull/107825/commits/bdf44f20af2fd75dd0e54418fca75c6801c37dd4 |
|
ce864e2
Describe .fullmatch() method
akuchling May 3, 2023
| https://github.com/python/cpython/pull/107825/commits/ce864e2c0ffa408d67b6495ff3c9a0ad6a164f8f |
|
1eaa7ac
Fix bug in doubled-word example, and try to clarify the explanation
akuchling May 3, 2023
| https://github.com/python/cpython/pull/107825/commits/1eaa7ac6fb44cbb5ab3930e88b24e5ef1a246b35 |
|
a4038d8
Clarify discussion of named groups
akuchling May 3, 2023
| https://github.com/python/cpython/pull/107825/commits/a4038d8cf0f537a8d0bb5433a233532bcdbf7bbd |
|
662e646
Mention := operator
akuchling Aug 9, 2023
| https://github.com/python/cpython/pull/107825/commits/662e6466d4bb9eeac16ab22eb9d11763279fceea |
|
132b3e6
Describe how to use flags, and embedded modifiers such as (?x)
akuchling Aug 10, 2023
| https://github.com/python/cpython/pull/107825/commits/132b3e6ad8807f75c55c5a81ae5b9b8e45b4359e |
|
05555df
re.sub() now has a flags argument
akuchling Aug 10, 2023
| https://github.com/python/cpython/pull/107825/commits/05555dff07324ef96ca63e789701d82fcb5599eb |
|
acd1460
Make re.sub() and re.split() signature match the current module
akuchling Aug 10, 2023
| https://github.com/python/cpython/pull/107825/commits/acd1460e647dcce1cba12ce0ab8be6e6f43017db |
|
f879c88
Move discussion of zero-width assertions, and clarify that repeating …
akuchling Aug 10, 2023
| https://github.com/python/cpython/pull/107825/commits/f879c88301752f4fce1ff300bf49ddef658a32ba |
|
d9e8ddf
Move fullmatch() above match(), and re-word this table a bit
akuchling Aug 24, 2023
| https://github.com/python/cpython/pull/107825/commits/d9e8ddf0585cac3b9582c6797c8af1c4a8c23094 |
|
2db6962
Merge branch 'main' into update-regex-howto
akuchling Sep 24, 2024
| https://github.com/python/cpython/pull/107825/commits/2db6962e25943416d10e01b0e1f273db7b9c85fb |
|
e370981
Fix some lint-detected markup issues
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/e3709811094447da81a47a46abeb71620686ef9b |
|
e1b084c
Remove \b from double-word example
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/e1b084ca3f77c8da0e93847f886bc68166f60e2d |
|
0e855ea
Add comments listing future work
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/0e855ea874fc24c900e371013a867aa8d66273e1 |
|
7a97af3
Break long line
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/7a97af3f4481caa99e7f85e88d8bc16896cddd3b |
|
961a4ef
Use same word in example
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/961a4ef7a3d5edb34de747c94639dead7bc35e25 |
|
b0258f6
Update Doc/howto/regex.rst
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/b0258f6e6ecf625daeab0382305213a76537ae1a |
|
bb9497d
PEP8
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/bb9497d2411a1453fbd01a4489606a2f67b8c2dc |
|
23c2934
Typo fix
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/23c2934d23ea99541cc6bb7a00503ce9ad430521 |
|
4752488
PEP8
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/4752488c17f3af132d95aeec4d5a6e881b877dc3 |
|
05c04ec
PEP8
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/05c04ec28de482c9599fb59ee112046e414be80a |
|
39b89c3
Merge branch 'update-regex-howto' of github.com:akuchling/cpython int…
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/39b89c366f09f3b4ff42f275a3666141bdd1849f |
|
900c50b
Remove somewhat off-topic sentence
akuchling Sep 25, 2024
| https://github.com/python/cpython/pull/107825/commits/900c50bc25cedc09a8143e4537b5068a4bb14223 |
|
Clear filters
| https://github.com/python/cpython/pull/107825/files |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
| Doc/howto/regex.rst | https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
View file
| https://github.com/python/cpython/blob/900c50bc25cedc09a8143e4537b5068a4bb14223/Doc/howto/regex.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/107825/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
|
| https://github.com/python/cpython/pull/107825/files#diff-535d16eac93f5c7a0532d0e3aebf6c5aaaef0b0d2addf86ec2de8b0675494aa2 |
| Please reload this page | https://github.com/python/cpython/pull/107825/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |