René's URL Explorer Experiment


Title: WIP: Various updates to the Regex HOWTO by akuchling · Pull Request #107825 · python/cpython · GitHub

Open Graph Title: WIP: Various updates to the Regex HOWTO by akuchling · Pull Request #107825 · python/cpython

X Title: WIP: Various updates to the Regex HOWTO by akuchling · Pull Request #107825 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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;...

Opengraph URL: https://github.com/python/cpython/pull/107825

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:4d432c95-8780-6979-e4c1-f7d4e147caa0
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA28A:12B1F0:7C0269:B78FCF:6A4E1719
html-safe-nonce42fd14026140c6fada561675d1f93ac2ee0458c81f5706d07065ac0795137869
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjhBOjEyQjFGMDo3QzAyNjk6Qjc4RkNGOjZBNEUxNzE5IiwidmlzaXRvcl9pZCI6IjEwNzExNjM3ODAyNTQwMTMyMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb84141d0b72d3fe463fb01b38596e24c0f3956e7d09eac2329a2e4b431df0c16
hovercard-subject-tagpull_request:1469439241
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/107825/commits
twitter:imagehttps://opengraph.githubassets.com/e5e6072dcc28afad7e7afdc880d516f5e4e2c001e5ed2a07520f4d3b6065eb4e/python/cpython/pull/107825
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e5e6072dcc28afad7e7afdc880d516f5e4e2c001e5ed2a07520f4d3b6065eb4e/python/cpython/pull/107825
og:image:altAs 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:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameakuchling
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseea9187571e3edc5f2780f750631138669441ca50
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/107825/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107825%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/107825/commits
Reloadhttps://github.com/python/cpython/pull/107825/commits
Reloadhttps://github.com/python/cpython/pull/107825/commits
Please reload this pagehttps://github.com/python/cpython/pull/107825/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/107825/commits
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
akuchlinghttps://github.com/akuchling
python:mainhttps://github.com/python/cpython/tree/main
akuchling:update-regex-howtohttps://github.com/akuchling/cpython/tree/update-regex-howto
Conversationhttps://github.com/python/cpython/pull/107825
Commits26 (26)https://github.com/python/cpython/pull/107825/commits
Checkshttps://github.com/python/cpython/pull/107825/checks
Files changedhttps://github.com/python/cpython/pull/107825/files
WIP: Various updates to the Regex HOWTOhttps://github.com/python/cpython/pull/107825/commits#top
akuchlinghttps://github.com/akuchling
python:mainhttps://github.com/python/cpython/tree/main
akuchling:update-regex-howtohttps://github.com/akuchling/cpython/tree/update-regex-howto
Remove most uses of the word 'obvious'https://github.com/python/cpython/pull/107825/commits/958009838ca7d289dce27d6cfa8f12421c6ccdad
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
9580098https://github.com/python/cpython/pull/107825/commits/958009838ca7d289dce27d6cfa8f12421c6ccdad
https://github.com/python/cpython/tree/958009838ca7d289dce27d6cfa8f12421c6ccdad
Unrecognized escapes now raise a SyntaxWarning, not a DeprecationWarning.https://github.com/python/cpython/pull/107825/commits/808e281569a4aadf4f04f22f922e1fda5bfd1305
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
808e281https://github.com/python/cpython/pull/107825/commits/808e281569a4aadf4f04f22f922e1fda5bfd1305
https://github.com/python/cpython/tree/808e281569a4aadf4f04f22f922e1fda5bfd1305
Add paragraph breakhttps://github.com/python/cpython/pull/107825/commits/88bbe21c07867e09db5d9c28d390b368bb31f822
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
88bbe21https://github.com/python/cpython/pull/107825/commits/88bbe21c07867e09db5d9c28d390b368bb31f822
https://github.com/python/cpython/tree/88bbe21c07867e09db5d9c28d390b368bb31f822
Remove extra parathesis from an examplehttps://github.com/python/cpython/pull/107825/commits/bdf44f20af2fd75dd0e54418fca75c6801c37dd4
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
bdf44f2https://github.com/python/cpython/pull/107825/commits/bdf44f20af2fd75dd0e54418fca75c6801c37dd4
https://github.com/python/cpython/tree/bdf44f20af2fd75dd0e54418fca75c6801c37dd4
Describe .fullmatch() methodhttps://github.com/python/cpython/pull/107825/commits/ce864e2c0ffa408d67b6495ff3c9a0ad6a164f8f
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
ce864e2https://github.com/python/cpython/pull/107825/commits/ce864e2c0ffa408d67b6495ff3c9a0ad6a164f8f
https://github.com/python/cpython/tree/ce864e2c0ffa408d67b6495ff3c9a0ad6a164f8f
Fix bug in doubled-word example, and try to clarify the explanationhttps://github.com/python/cpython/pull/107825/commits/1eaa7ac6fb44cbb5ab3930e88b24e5ef1a246b35
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
1eaa7achttps://github.com/python/cpython/pull/107825/commits/1eaa7ac6fb44cbb5ab3930e88b24e5ef1a246b35
https://github.com/python/cpython/tree/1eaa7ac6fb44cbb5ab3930e88b24e5ef1a246b35
Clarify discussion of named groupshttps://github.com/python/cpython/pull/107825/commits/a4038d8cf0f537a8d0bb5433a233532bcdbf7bbd
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
a4038d8https://github.com/python/cpython/pull/107825/commits/a4038d8cf0f537a8d0bb5433a233532bcdbf7bbd
https://github.com/python/cpython/tree/a4038d8cf0f537a8d0bb5433a233532bcdbf7bbd
Mention := operatorhttps://github.com/python/cpython/pull/107825/commits/662e6466d4bb9eeac16ab22eb9d11763279fceea
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
662e646https://github.com/python/cpython/pull/107825/commits/662e6466d4bb9eeac16ab22eb9d11763279fceea
https://github.com/python/cpython/tree/662e6466d4bb9eeac16ab22eb9d11763279fceea
Describe how to use flags, and embedded modifiers such as (?x)https://github.com/python/cpython/pull/107825/commits/132b3e6ad8807f75c55c5a81ae5b9b8e45b4359e
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
132b3e6https://github.com/python/cpython/pull/107825/commits/132b3e6ad8807f75c55c5a81ae5b9b8e45b4359e
https://github.com/python/cpython/tree/132b3e6ad8807f75c55c5a81ae5b9b8e45b4359e
re.sub() now has a flags argumenthttps://github.com/python/cpython/pull/107825/commits/05555dff07324ef96ca63e789701d82fcb5599eb
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
05555dfhttps://github.com/python/cpython/pull/107825/commits/05555dff07324ef96ca63e789701d82fcb5599eb
https://github.com/python/cpython/tree/05555dff07324ef96ca63e789701d82fcb5599eb
Make re.sub() and re.split() signature match the current modulehttps://github.com/python/cpython/pull/107825/commits/acd1460e647dcce1cba12ce0ab8be6e6f43017db
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
acd1460https://github.com/python/cpython/pull/107825/commits/acd1460e647dcce1cba12ce0ab8be6e6f43017db
https://github.com/python/cpython/tree/acd1460e647dcce1cba12ce0ab8be6e6f43017db
Move discussion of zero-width assertions, and clarify that repeating them is an errorhttps://github.com/python/cpython/pull/107825/commits/f879c88301752f4fce1ff300bf49ddef658a32ba
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
f879c88https://github.com/python/cpython/pull/107825/commits/f879c88301752f4fce1ff300bf49ddef658a32ba
https://github.com/python/cpython/tree/f879c88301752f4fce1ff300bf49ddef658a32ba
Move fullmatch() above match(), and re-word this table a bithttps://github.com/python/cpython/pull/107825/commits/d9e8ddf0585cac3b9582c6797c8af1c4a8c23094
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
d9e8ddfhttps://github.com/python/cpython/pull/107825/commits/d9e8ddf0585cac3b9582c6797c8af1c4a8c23094
https://github.com/python/cpython/tree/d9e8ddf0585cac3b9582c6797c8af1c4a8c23094
Merge branch 'main' into update-regex-howtohttps://github.com/python/cpython/pull/107825/commits/2db6962e25943416d10e01b0e1f273db7b9c85fb
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
2db6962https://github.com/python/cpython/pull/107825/commits/2db6962e25943416d10e01b0e1f273db7b9c85fb
https://github.com/python/cpython/tree/2db6962e25943416d10e01b0e1f273db7b9c85fb
Fix some lint-detected markup issueshttps://github.com/python/cpython/pull/107825/commits/e3709811094447da81a47a46abeb71620686ef9b
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
e370981https://github.com/python/cpython/pull/107825/commits/e3709811094447da81a47a46abeb71620686ef9b
https://github.com/python/cpython/tree/e3709811094447da81a47a46abeb71620686ef9b
Remove \b from double-word examplehttps://github.com/python/cpython/pull/107825/commits/e1b084ca3f77c8da0e93847f886bc68166f60e2d
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
e1b084chttps://github.com/python/cpython/pull/107825/commits/e1b084ca3f77c8da0e93847f886bc68166f60e2d
https://github.com/python/cpython/tree/e1b084ca3f77c8da0e93847f886bc68166f60e2d
Add comments listing future workhttps://github.com/python/cpython/pull/107825/commits/0e855ea874fc24c900e371013a867aa8d66273e1
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
0e855eahttps://github.com/python/cpython/pull/107825/commits/0e855ea874fc24c900e371013a867aa8d66273e1
https://github.com/python/cpython/tree/0e855ea874fc24c900e371013a867aa8d66273e1
Break long linehttps://github.com/python/cpython/pull/107825/commits/7a97af3f4481caa99e7f85e88d8bc16896cddd3b
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
7a97af3https://github.com/python/cpython/pull/107825/commits/7a97af3f4481caa99e7f85e88d8bc16896cddd3b
https://github.com/python/cpython/tree/7a97af3f4481caa99e7f85e88d8bc16896cddd3b
Use same word in examplehttps://github.com/python/cpython/pull/107825/commits/961a4ef7a3d5edb34de747c94639dead7bc35e25
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
961a4efhttps://github.com/python/cpython/pull/107825/commits/961a4ef7a3d5edb34de747c94639dead7bc35e25
https://github.com/python/cpython/tree/961a4ef7a3d5edb34de747c94639dead7bc35e25
Update Doc/howto/regex.rsthttps://github.com/python/cpython/pull/107825/commits/b0258f6e6ecf625daeab0382305213a76537ae1a
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
b0258f6https://github.com/python/cpython/pull/107825/commits/b0258f6e6ecf625daeab0382305213a76537ae1a
https://github.com/python/cpython/tree/b0258f6e6ecf625daeab0382305213a76537ae1a
PEP8https://github.com/python/cpython/pull/107825/commits/bb9497d2411a1453fbd01a4489606a2f67b8c2dc
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
bb9497dhttps://github.com/python/cpython/pull/107825/commits/bb9497d2411a1453fbd01a4489606a2f67b8c2dc
https://github.com/python/cpython/tree/bb9497d2411a1453fbd01a4489606a2f67b8c2dc
Typo fixhttps://github.com/python/cpython/pull/107825/commits/23c2934d23ea99541cc6bb7a00503ce9ad430521
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
gvanrossumhttps://github.com/python/cpython/commits?author=gvanrossum
23c2934https://github.com/python/cpython/pull/107825/commits/23c2934d23ea99541cc6bb7a00503ce9ad430521
https://github.com/python/cpython/tree/23c2934d23ea99541cc6bb7a00503ce9ad430521
PEP8https://github.com/python/cpython/pull/107825/commits/4752488c17f3af132d95aeec4d5a6e881b877dc3
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
picnixzhttps://github.com/python/cpython/commits?author=picnixz
4752488https://github.com/python/cpython/pull/107825/commits/4752488c17f3af132d95aeec4d5a6e881b877dc3
https://github.com/python/cpython/tree/4752488c17f3af132d95aeec4d5a6e881b877dc3
PEP8https://github.com/python/cpython/pull/107825/commits/05c04ec28de482c9599fb59ee112046e414be80a
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
05c04echttps://github.com/python/cpython/pull/107825/commits/05c04ec28de482c9599fb59ee112046e414be80a
https://github.com/python/cpython/tree/05c04ec28de482c9599fb59ee112046e414be80a
Merge branch 'update-regex-howto' of github.com:akuchling/cpython into update-regex-howtohttps://github.com/python/cpython/pull/107825/commits/39b89c366f09f3b4ff42f275a3666141bdd1849f
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
39b89c3https://github.com/python/cpython/pull/107825/commits/39b89c366f09f3b4ff42f275a3666141bdd1849f
https://github.com/python/cpython/tree/39b89c366f09f3b4ff42f275a3666141bdd1849f
Remove somewhat off-topic sentencehttps://github.com/python/cpython/pull/107825/commits/900c50bc25cedc09a8143e4537b5068a4bb14223
https://github.com/akuchling
akuchlinghttps://github.com/python/cpython/commits?author=akuchling
900c50bhttps://github.com/python/cpython/pull/107825/commits/900c50bc25cedc09a8143e4537b5068a4bb14223
https://github.com/python/cpython/tree/900c50bc25cedc09a8143e4537b5068a4bb14223
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.