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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:fb555a27-9f5c-a924-c347-1692e444c345
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8810:7A60E:3DD51A6:4F3F7F8:6B021022
html-safe-nonce558eff2338465d27b0d839a82c208ce41c44ea46fdcafe15dcb9bce123aaac55
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODEwOjdBNjBFOjNERDUxQTY6NEYzRjdGODo2QjAyMTAyMiIsInZpc2l0b3JfaWQiOiI4NTM1NjM2OTk4NzYzOTc0NjkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac123d876c453a48d33223769cbed90ad8b6aec23846324e2dd2c1ee0fe2eedda9
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/31137/pull_request_layout
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/31137#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31137
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
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/31137
Reloadhttps://github.com/python/cpython/pull/31137
Reloadhttps://github.com/python/cpython/pull/31137
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#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
gpshead:prefixmatch-b42353https://github.com/gpshead/cpython/tree/prefixmatch-b42353
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 5, 2022https://github.com/python/cpython/pull/31137#issue-1124776543
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927
Proposal: re.prefixmatch method (alias for re.match) #86519https://github.com/python/cpython/issues/86519
https://cpython-previews--31137.org.readthedocs.build/en/31137/https://cpython-previews--31137.org.readthedocs.build/en/31137/
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/gpshead
bpo-42353: Add prefixmatch APIs to the re module.https://github.com/python/cpython/pull/31137/commits/587dc4d74eae7f71381fd70a34663ca9ef65b8a9
587dc4dhttps://github.com/python/cpython/pull/31137/commits/587dc4d74eae7f71381fd70a34663ca9ef65b8a9
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Feb 5, 2022https://github.com/python/cpython/pull/31137#event-6012845301
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Feb 5, 2022https://github.com/python/cpython/pull/31137#event-6012845339
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 5, 2022https://github.com/python/cpython/pull/31137#event-6012845370
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Feb 17, 2022https://github.com/python/cpython/pull/31137#event-6087134145
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jul 7, 2022 https://github.com/python/cpython/pull/31137#ref-issue-1199047349
Proposal: re.prefixmatch method (alias for re.match) #86519 https://github.com/python/cpython/issues/86519
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/31137#event-6988862155
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
January 30, 2023 05:20https://github.com/python/cpython/pull/31137#event-8384250416
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jan 30, 2023https://github.com/python/cpython/pull/31137#event-8384253020
gpsheadhttps://github.com/gpshead
January 29, 2023 22:45https://github.com/python/cpython/pull/31137#commits-pushed-c7d1581
https://github.com/gpshead
Merge branch 'main' into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/c7d1581508c8379f6014f865df9236cb74c7e192
c7d1581https://github.com/python/cpython/pull/31137/commits/c7d1581508c8379f6014f865df9236cb74c7e192
https://github.com/gpshead
fix editor fat finger typo during the merge. #vimhttps://github.com/python/cpython/pull/31137/commits/fa2885eccd72a3e6ec33721b459ad13358b9034a
fa2885ehttps://github.com/python/cpython/pull/31137/commits/fa2885eccd72a3e6ec33721b459ad13358b9034a
https://github.com/gpshead
3.12https://github.com/python/cpython/pull/31137/commits/6195ad74fc9b48764c9f77209663f2d658773ad6
6195ad7https://github.com/python/cpython/pull/31137/commits/6195ad74fc9b48764c9f77209663f2d658773ad6
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Jan 30, 2023https://github.com/python/cpython/pull/31137#event-8384716547
https://github.com/hauntsaninja
Merge branch 'main' into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/0296f29188aefa81b13c76b71d5a059dfae63d6f
0296f29https://github.com/python/cpython/pull/31137/commits/0296f29188aefa81b13c76b71d5a059dfae63d6f
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Apr 18, 2025https://github.com/python/cpython/pull/31137#issuecomment-2815097144
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/gpshead
Merge main and modernize the relevant docs.https://github.com/python/cpython/pull/31137/commits/bab8e8b06ba9f066047291f022e23e8180dc833e
bab8e8bhttps://github.com/python/cpython/pull/31137/commits/bab8e8b06ba9f066047291f022e23e8180dc833e
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
force-pushedhttps://github.com/python/cpython/compare/554bb41d3712cceb53f42bcbece92ae1401d0496..54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b
554bb41https://github.com/python/cpython/commit/554bb41d3712cceb53f42bcbece92ae1401d0496
54c77cahttps://github.com/python/cpython/commit/54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b
Compare https://github.com/python/cpython/compare/554bb41d3712cceb53f42bcbece92ae1401d0496..54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b
April 19, 2025 01:09https://github.com/python/cpython/pull/31137#event-17326595396
https://github.com/gpshead
Simplify, don't have duplicate definitions.https://github.com/python/cpython/pull/31137/commits/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
149f6e4https://github.com/python/cpython/pull/31137/commits/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
force-pushedhttps://github.com/python/cpython/compare/54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b..149f6e4751f20c9a5acd12da3e4b21138d6c7faf
54c77cahttps://github.com/python/cpython/commit/54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b
149f6e4https://github.com/python/cpython/commit/149f6e4751f20c9a5acd12da3e4b21138d6c7faf
Compare https://github.com/python/cpython/compare/54c77cab6da84b7e3e3c2c9c3b02cec9a0ac620b..149f6e4751f20c9a5acd12da3e4b21138d6c7faf
April 19, 2025 01:20https://github.com/python/cpython/pull/31137#event-17326650547
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Jan 30, 2026 https://github.com/python/cpython/pull/31137#ref-pullrequest-3876685067
FURB167: change example to re.search with ^ anchor astral-sh/ruff#22984 https://github.com/astral-sh/ruff/pull/22984
ntBrehttps://github.com/ntBre
Jan 30, 2026 https://github.com/python/cpython/pull/31137#ref-commit-38d4f49
https://github.com/hugovk
FURB167: change example tohttps://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
re.searchhttps://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
withhttps://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
^https://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
anchor (https://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
#22984https://github.com/astral-sh/ruff/pull/22984
)https://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
38d4f49https://github.com/astral-sh/ruff/commit/38d4f4917682f565ccc507065be382007355f90b
https://docs.astral.sh/ruff/rules/regex-flag-alias/#regex-flag-alias-furb167https://docs.astral.sh/ruff/rules/regex-flag-alias/#regex-flag-alias-furb167
https://docs.python.org/3/library/re.html#search-vs-matchhttps://docs.python.org/3/library/re.html#search-vs-match
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927
python/cpython#86519https://github.com/python/cpython/issues/86519
python/cpython#31137https://github.com/python/cpython/pull/31137
https://github.com/hugovk/ruff/actions/runs/21524112749https://github.com/hugovk/ruff/actions/runs/21524112749
gpsheadhttps://github.com/gpshead
January 31, 2026 15:18https://github.com/python/cpython/pull/31137#commits-pushed-e176692
https://github.com/gpshead
Merge main into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/e1766928776b7bfe0d3efb283d156d5c9af86e41
e176692https://github.com/python/cpython/pull/31137/commits/e1766928776b7bfe0d3efb283d156d5c9af86e41
https://github.com/gpshead
https://github.com/claude
Update match name removal language to be definitivehttps://github.com/python/cpython/pull/31137/commits/58d8f579c97918f142bfa4b0bd6fbd4c336c41b8
58d8f57https://github.com/python/cpython/pull/31137/commits/58d8f579c97918f142bfa4b0bd6fbd4c336c41b8
https://github.com/gpshead
https://github.com/claude
Fix re.rst examples after match to search conversionhttps://github.com/python/cpython/pull/31137/commits/3cd9d7170b02515aad5906d7566ef2c4bf5a0d0e
3cd9d71https://github.com/python/cpython/pull/31137/commits/3cd9d7170b02515aad5906d7566ef2c4bf5a0d0e
https://github.com/gpshead
Replace name-parsing examples with Monty Python referenceshttps://github.com/python/cpython/pull/31137/commits/d6090bb003f1f5f5144c5c541eaf97355f59537f
d6090bbhttps://github.com/python/cpython/pull/31137/commits/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
February 1, 2026 00:12https://github.com/python/cpython/pull/31137#event-22435550826
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/ccbe41e27cdb441033189f06148c23528275214b/.github/CODEOWNERS#L114
February 1, 2026 00:12https://github.com/python/cpython/pull/31137#event-22435550949
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 8, 2026 https://github.com/python/cpython/pull/31137#pullrequestreview-3769137087
View reviewed changes https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/cpython/pull/31137#pullrequestreview-3769137087
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31137
Modules/_sre/sre.chttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-b715247383fe7eb29c4592bf02da337a5ed85dfcbb4862bf3f5d4f2537dce22d
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 8, 2026https://github.com/python/cpython/pull/31137#event-22620224333
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Feb 8, 2026 https://github.com/python/cpython/pull/31137#pullrequestreview-3769140493
View reviewed changes https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Feb 8, 2026https://github.com/python/cpython/pull/31137#issuecomment-3866866705
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Feb 8, 2026 https://github.com/python/cpython/pull/31137#pullrequestreview-3769507898
View reviewed changes https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
Lib/test/test_re.pyhttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-8e462ca5167ec7a83a5710c179ef56cbae19cd614303fbcf2ec33fd9db914e2a
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 8, 2026https://github.com/python/cpython/pull/31137#issuecomment-3868224348
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927/20https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927/20
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 8, 2026 https://github.com/python/cpython/pull/31137#pullrequestreview-3729062990
View reviewed changes https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
hugovkhttps://github.com/hugovk
https://github.com/python/cpython/pull/31137#pullrequestreview-3729062990
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/149f6e4751f20c9a5acd12da3e4b21138d6c7faf#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/149f6e4751f20c9a5acd12da3e4b21138d6c7faf#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/library/re.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-fca5ee281345c4577087eadc6d85e52a6391e794eef2b7f78356d047f3b78957
Please reload this pagehttps://github.com/python/cpython/pull/31137
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Please reload this pagehttps://github.com/python/cpython/pull/31137
Lib/re/__init__.pyhttps://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f#diff-57c2a59def025dd119080dba7f4aa64e9ddb1e36ca8b1e71eeea6b6dc3b6c0fe
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/picnixz
picnixzhttps://github.com/picnixz
serhiy-storchakahttps://github.com/serhiy-storchaka
February 8, 2026 21:59https://github.com/python/cpython/pull/31137#event-22627958984
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 8, 2026https://github.com/python/cpython/pull/31137#issuecomment-3868559543
Please reload this pagehttps://github.com/python/cpython/pull/31137
gpsheadhttps://github.com/gpshead
February 9, 2026 00:05https://github.com/python/cpython/pull/31137#commits-pushed-341972f
https://github.com/gpshead
https://github.com/claude
Address reviewer docs feedback: prefer prefixmatch throughouthttps://github.com/python/cpython/pull/31137/commits/341972fb81371c41ba5be563a97034553b19c762
341972fhttps://github.com/python/cpython/pull/31137/commits/341972fb81371c41ba5be563a97034553b19c762
https://github.com/gpshead
https://github.com/claude
Statically alias match to prefixmatch instead of runtime memcpyhttps://github.com/python/cpython/pull/31137/commits/cd8d85db96cb0f55eb03dab94b6182d19a6e72b6
cd8d85dhttps://github.com/python/cpython/pull/31137/commits/cd8d85db96cb0f55eb03dab94b6182d19a6e72b6
https://github.com/gpshead
Merge main into prefixmatch-b42353https://github.com/python/cpython/pull/31137/commits/74d51b39e42752b2f3e755e1f514162041066362
74d51b3https://github.com/python/cpython/pull/31137/commits/74d51b39e42752b2f3e755e1f514162041066362
https://github.com/gpshead
https://github.com/claude
Fix whatsnew 3.15 RST heading that matches git conflict markerhttps://github.com/python/cpython/pull/31137/commits/4abdff062ffdada0ea3f8275d09525edfb0bf480
4abdff0https://github.com/python/cpython/pull/31137/commits/4abdff062ffdada0ea3f8275d09525edfb0bf480
https://github.com/gpshead
docs, remove errant "if ever"https://github.com/python/cpython/pull/31137/commits/6bacfb04792d01734a4b1676e5326c7ffece08ae
6bacfb0https://github.com/python/cpython/pull/31137/commits/6bacfb04792d01734a4b1676e5326c7ffece08ae
https://github.com/gpshead
doc wording tweaks jf clarityhttps://github.com/python/cpython/pull/31137/commits/40e6a2acef765057953c5472d20b2eac88c3209e
40e6a2ahttps://github.com/python/cpython/pull/31137/commits/40e6a2acef765057953c5472d20b2eac88c3209e
https://github.com/gpshead
https://github.com/claude
Extract do_test_match_getitem helper to preserve git blamehttps://github.com/python/cpython/pull/31137/commits/b3c694858de5d67b18aee9481085e4e5559a121b
b3c6948https://github.com/python/cpython/pull/31137/commits/b3c694858de5d67b18aee9481085e4e5559a121b
https://github.com/gpshead
tweak news to match docshttps://github.com/python/cpython/pull/31137/commits/b27798110364c43457f633a9b100ceb58b448733
b277981https://github.com/python/cpython/pull/31137/commits/b27798110364c43457f633a9b100ceb58b448733
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 9, 2026https://github.com/python/cpython/pull/31137#event-22630160134
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
300de1ehttps://github.com/python/cpython/commit/300de1e98ac236bc887b49c0fbd7398266237b36
Feb 16, 2026https://github.com/python/cpython/pull/31137#event-22811854121
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 16, 2026https://github.com/python/cpython/pull/31137#event-22811855016
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 16, 2026https://github.com/python/cpython/pull/31137#issuecomment-3906036463
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Feb 16, 2026 https://github.com/python/cpython/pull/31137#ref-issue-3945479337
Add an explicit prefixmatch API name for match for parity CPython 3.15 mrabarnett/mrab-regex#601 https://github.com/mrabarnett/mrab-regex/issues/601
brijkapadiahttps://github.com/brijkapadia
Feb 28, 2026 https://github.com/python/cpython/pull/31137#ref-commit-22df6fe
https://github.com/gpshead
https://github.com/claude
https://github.com/hauntsaninja
https://github.com/brijkapadia
pythongh-86519https://github.com/python/cpython/issues/86519
: Add prefixmatch APIs to the re module (https://github.com/brijkapadia/cpython/commit/22df6fe25867199ff1db208f0d5af0c3d5857d5b
pythonGH-31137https://github.com/python/cpython/pull/31137
)https://github.com/brijkapadia/cpython/commit/22df6fe25867199ff1db208f0d5af0c3d5857d5b
22df6fehttps://github.com/brijkapadia/cpython/commit/22df6fe25867199ff1db208f0d5af0c3d5857d5b
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Mar 18, 2026 https://github.com/python/cpython/pull/31137#ref-pullrequest-4095267694
Update test_validators.py for Python 3.15a7 python-attrs/attrs#1530 https://github.com/python-attrs/attrs/pull/1530
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 4, 2026https://github.com/python/cpython/pull/31137#issuecomment-4187329380
#148096https://github.com/python/cpython/pull/148096
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 4, 2026 https://github.com/python/cpython/pull/31137#ref-issue-4205398868
Soft deprecate re.match and re.Pattern.match in favour of prefixmatch #148100 https://github.com/python/cpython/issues/148100
ljfphttps://github.com/ljfp
Apr 25, 2026 https://github.com/python/cpython/pull/31137#ref-commit-a8c1cbc
https://github.com/gpshead
https://github.com/claude
https://github.com/hauntsaninja
https://github.com/ljfp
pythongh-86519https://github.com/python/cpython/issues/86519
: Add prefixmatch APIs to the re module (https://github.com/ljfp/cpython/commit/a8c1cbc51a11fcbc662f1fccc5a1caf4a699a7d8
pythonGH-31137https://github.com/python/cpython/pull/31137
)https://github.com/ljfp/cpython/commit/a8c1cbc51a11fcbc662f1fccc5a1caf4a699a7d8
a8c1cbchttps://github.com/ljfp/cpython/commit/a8c1cbc51a11fcbc662f1fccc5a1caf4a699a7d8
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927
KotlinIslandhttps://github.com/KotlinIsland
May 1, 2026 https://github.com/python/cpython/pull/31137#ref-commit-730e469
https://github.com/hugovk
FURB167: change example to re.search with ^ anchor (#22984)https://github.com/KotlinIsland/basedpython/commit/730e4697d997a799e6747901dca384cf4d6bf757
730e469https://github.com/KotlinIsland/basedpython/commit/730e4697d997a799e6747901dca384cf4d6bf757
https://docs.astral.sh/ruff/rules/regex-flag-alias/#regex-flag-alias-furb167https://docs.astral.sh/ruff/rules/regex-flag-alias/#regex-flag-alias-furb167
https://docs.python.org/3/library/re.html#search-vs-matchhttps://docs.python.org/3/library/re.html#search-vs-match
https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927https://discuss.python.org/t/add-re-prefixmatch-deprecate-re-match/105927
python/cpython#86519https://github.com/python/cpython/issues/86519
python/cpython#31137https://github.com/python/cpython/pull/31137
https://github.com/hugovk/ruff/actions/runs/21524112749https://github.com/hugovk/ruff/actions/runs/21524112749
https://github.com/samhaese
samhaesehttps://github.com/samhaese
Jun 2, 2026 https://github.com/python/cpython/pull/31137#ref-pullrequest-4574479959
(skip issue) Respect Isaac Newton and Malcolm Reynolds by reverting their removal in #31137 #150807 https://github.com/python/cpython/pull/150807
decorator-factoryhttps://github.com/decorator-factory
Aug 8, 2026 https://github.com/python/cpython/pull/31137#ref-commit-9d8f49d
https://github.com/decorator-factory
Acknowledge the match -> prefixmatch changehttps://github.com/decorator-factory/python-re-quiz/commit/9d8f49da362a5d5fedec55e746ea33df941e93ed
9d8f49dhttps://github.com/decorator-factory/python-re-quiz/commit/9d8f49da362a5d5fedec55e746ea33df941e93ed
python/cpython#31137https://github.com/python/cpython/pull/31137
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31137
https://github.com/picnixz
picnixz https://github.com/picnixz
https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/hugovk
hugovk https://github.com/hugovk
https://github.com/python/cpython/pull/31137/files/d6090bb003f1f5f5144c5c541eaf97355f59537f
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/gpshead
gpshead https://github.com/gpshead
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/31137
https://github.com/gpshead
https://github.com/picnixz
https://github.com/hugovk
https://github.com/hauntsaninja
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/bedevere-bot
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.