René's URL Explorer Experiment


Title: gh-86519: Add prefixmatch APIs to the re module by gpshead · Pull Request #31137 · python/cpython · GitHub

Open Graph Title: gh-86519: Add prefixmatch APIs to the re module by gpshead · Pull Request #31137 · python/cpython

X Title: gh-86519: Add prefixmatch APIs to the re module by gpshead · Pull Request #31137 · python/cpython

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

Open Graph Description: Adds prefixmatch APIs to the re module as an alternate name for our long existing match APIs to help alleviate a common Python confusion for those coming from other languages regular expression lib...

X Description: Adds prefixmatch APIs to the re module as an alternate name for our long existing match APIs to help alleviate a common Python confusion for those coming from other languages regular expression lib...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:826447ae-2551-281b-aea3-994d45130176
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id92EC:62F48:1170332:16FE217:6B021652
html-safe-nonce8806bfcd8357a5788e9e88f76edb2e5ab86db7ec89af53770595b8d6e6796020
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkVDOjYyRjQ4OjExNzAzMzI6MTZGRTIxNzo2QjAyMTY1MiIsInZpc2l0b3JfaWQiOiI4NTQxODM3OTQ3OTkxODg5NDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaceaf2b87bdd60935829ee91fa004e909351f536cf43f7551ab3e5444bf80f1d12
hovercard-subject-tagpull_request:840746777
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/31137/commits
twitter:imagehttps://opengraph.githubassets.com/e034261afe1d55805db490904122ddc302fe3439c932883834778afc5e1811f4/python/cpython/pull/31137
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e034261afe1d55805db490904122ddc302fe3439c932883834778afc5e1811f4/python/cpython/pull/31137
og:image:altAdds prefixmatch APIs to the re module as an alternate name for our long existing match APIs to help alleviate a common Python confusion for those coming from other languages regular expression lib...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegpshead
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/31137/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31137%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31137%2Fcommits
Sign uphttps://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/31137/commits
Reloadhttps://github.com/python/cpython/pull/31137/commits
Reloadhttps://github.com/python/cpython/pull/31137/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
gpshead:prefixmatch-b42353https://github.com/gpshead/cpython/tree/prefixmatch-b42353
Conversationhttps://github.com/python/cpython/pull/31137
Commits19 (19)https://github.com/python/cpython/pull/31137/commits
Checkshttps://github.com/python/cpython/pull/31137/checks
Files changedhttps://github.com/python/cpython/pull/31137/files
gh-86519: Add prefixmatch APIs to the re modulehttps://github.com/python/cpython/pull/31137/commits#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
gpshead:prefixmatch-b42353https://github.com/gpshead/cpython/tree/prefixmatch-b42353
bpo-42353: Add prefixmatch APIs to the re module.https://github.com/python/cpython/pull/31137/commits/587dc4d74eae7f71381fd70a34663ca9ef65b8a9
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
587dc4dhttps://github.com/python/cpython/pull/31137/commits/587dc4d74eae7f71381fd70a34663ca9ef65b8a9
https://github.com/python/cpython/tree/587dc4d74eae7f71381fd70a34663ca9ef65b8a9
Merge branch 'main' into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/c7d1581508c8379f6014f865df9236cb74c7e192
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
c7d1581https://github.com/python/cpython/pull/31137/commits/c7d1581508c8379f6014f865df9236cb74c7e192
https://github.com/python/cpython/tree/c7d1581508c8379f6014f865df9236cb74c7e192
fix editor fat finger typo during the merge. #vimhttps://github.com/python/cpython/pull/31137/commits/fa2885eccd72a3e6ec33721b459ad13358b9034a
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
fa2885ehttps://github.com/python/cpython/pull/31137/commits/fa2885eccd72a3e6ec33721b459ad13358b9034a
https://github.com/python/cpython/tree/fa2885eccd72a3e6ec33721b459ad13358b9034a
3.12https://github.com/python/cpython/pull/31137/commits/6195ad74fc9b48764c9f77209663f2d658773ad6
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
6195ad7https://github.com/python/cpython/pull/31137/commits/6195ad74fc9b48764c9f77209663f2d658773ad6
https://github.com/python/cpython/tree/6195ad74fc9b48764c9f77209663f2d658773ad6
Merge branch 'main' into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/0296f29188aefa81b13c76b71d5a059dfae63d6f
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/python/cpython/commits?author=hauntsaninja
0296f29https://github.com/python/cpython/pull/31137/commits/0296f29188aefa81b13c76b71d5a059dfae63d6f
https://github.com/python/cpython/tree/0296f29188aefa81b13c76b71d5a059dfae63d6f
Merge main and modernize the relevant docs.https://github.com/python/cpython/pull/31137/commits/bab8e8b06ba9f066047291f022e23e8180dc833e
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
bab8e8bhttps://github.com/python/cpython/pull/31137/commits/bab8e8b06ba9f066047291f022e23e8180dc833e
https://github.com/python/cpython/tree/bab8e8b06ba9f066047291f022e23e8180dc833e
Simplify, don't have duplicate definitions.https://github.com/python/cpython/pull/31137/commits/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
149f6e4https://github.com/python/cpython/pull/31137/commits/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
https://github.com/python/cpython/tree/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
Merge main into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/e1766928776b7bfe0d3efb283d156d5c9af86e41
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
e176692https://github.com/python/cpython/pull/31137/commits/e1766928776b7bfe0d3efb283d156d5c9af86e41
https://github.com/python/cpython/tree/e1766928776b7bfe0d3efb283d156d5c9af86e41
Update match name removal language to be definitivehttps://github.com/python/cpython/pull/31137/commits/58d8f579c97918f142bfa4b0bd6fbd4c336c41b8
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
58d8f57https://github.com/python/cpython/pull/31137/commits/58d8f579c97918f142bfa4b0bd6fbd4c336c41b8
https://github.com/python/cpython/tree/58d8f579c97918f142bfa4b0bd6fbd4c336c41b8
Fix re.rst examples after match to search conversionhttps://github.com/python/cpython/pull/31137/commits/3cd9d7170b02515aad5906d7566ef2c4bf5a0d0e
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
3cd9d71https://github.com/python/cpython/pull/31137/commits/3cd9d7170b02515aad5906d7566ef2c4bf5a0d0e
https://github.com/python/cpython/tree/3cd9d7170b02515aad5906d7566ef2c4bf5a0d0e
Replace name-parsing examples with Monty Python referenceshttps://github.com/python/cpython/pull/31137/commits/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
d6090bbhttps://github.com/python/cpython/pull/31137/commits/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/python/cpython/tree/d6090bb003f1f5f5144c5c541eaf97355f59537f
Address reviewer docs feedback: prefer prefixmatch throughouthttps://github.com/python/cpython/pull/31137/commits/341972fb81371c41ba5be563a97034553b19c762
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
341972fhttps://github.com/python/cpython/pull/31137/commits/341972fb81371c41ba5be563a97034553b19c762
https://github.com/python/cpython/tree/341972fb81371c41ba5be563a97034553b19c762
Statically alias match to prefixmatch instead of runtime memcpyhttps://github.com/python/cpython/pull/31137/commits/cd8d85db96cb0f55eb03dab94b6182d19a6e72b6
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
cd8d85dhttps://github.com/python/cpython/pull/31137/commits/cd8d85db96cb0f55eb03dab94b6182d19a6e72b6
https://github.com/python/cpython/tree/cd8d85db96cb0f55eb03dab94b6182d19a6e72b6
Merge main into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/74d51b39e42752b2f3e755e1f514162041066362
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
74d51b3https://github.com/python/cpython/pull/31137/commits/74d51b39e42752b2f3e755e1f514162041066362
https://github.com/python/cpython/tree/74d51b39e42752b2f3e755e1f514162041066362
Fix whatsnew 3.15 RST heading that matches git conflict markerhttps://github.com/python/cpython/pull/31137/commits/4abdff062ffdada0ea3f8275d09525edfb0bf480
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
4abdff0https://github.com/python/cpython/pull/31137/commits/4abdff062ffdada0ea3f8275d09525edfb0bf480
https://github.com/python/cpython/tree/4abdff062ffdada0ea3f8275d09525edfb0bf480
docs, remove errant "if ever"https://github.com/python/cpython/pull/31137/commits/6bacfb04792d01734a4b1676e5326c7ffece08ae
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
6bacfb0https://github.com/python/cpython/pull/31137/commits/6bacfb04792d01734a4b1676e5326c7ffece08ae
https://github.com/python/cpython/tree/6bacfb04792d01734a4b1676e5326c7ffece08ae
doc wording tweaks jf clarityhttps://github.com/python/cpython/pull/31137/commits/40e6a2acef765057953c5472d20b2eac88c3209e
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
40e6a2ahttps://github.com/python/cpython/pull/31137/commits/40e6a2acef765057953c5472d20b2eac88c3209e
https://github.com/python/cpython/tree/40e6a2acef765057953c5472d20b2eac88c3209e
Extract do_test_match_getitem helper to preserve git blamehttps://github.com/python/cpython/pull/31137/commits/b3c694858de5d67b18aee9481085e4e5559a121b
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
claudehttps://github.com/python/cpython/commits?author=claude
b3c6948https://github.com/python/cpython/pull/31137/commits/b3c694858de5d67b18aee9481085e4e5559a121b
https://github.com/python/cpython/tree/b3c694858de5d67b18aee9481085e4e5559a121b
tweak news to match docshttps://github.com/python/cpython/pull/31137/commits/b27798110364c43457f633a9b100ceb58b448733
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
b277981https://github.com/python/cpython/pull/31137/commits/b27798110364c43457f633a9b100ceb58b448733
https://github.com/python/cpython/tree/b27798110364c43457f633a9b100ceb58b448733
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.