PulseAugur
EN
LIVE 15:37:06

Python 3.15 soft-deprecates confusing re.match() function

The Python programming language is soft-deprecating the `re.match()` function in its upcoming 3.15 release. This means developers will be advised against using it for new code, though it will not be removed. The change aims to address the confusion surrounding `re.match()`, which only anchors to the beginning of a string, by introducing `re.prefixmatch()` as a clearer alternative. Developers are encouraged to use `re.search()` for matching anywhere in a string or `re.fullmatch()` for matching the entire string instead. AI

IMPACT Minor impact on AI development, primarily affecting Python developers who use regular expressions.

RANK_REASON A change to a specific function within a programming language's standard library.

Read on Simon Willison →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Python 3.15 soft-deprecates confusing re.match() function

How we ranked this

Signal score
22 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
A change to a specific function within a programming language's standard library.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
Standard
On-topic for AI-industry coverage; kept in the public index.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

Full methodology in our editorial standards.

COVERAGE [1]

  1. Simon Willison TIER_1 English(EN) ·

    Soft-deprecating re.match()

    <p><strong><a href="https://hugovk.dev/blog/2026/soft-deprecating-re.match/">Soft-deprecating re.match()</a></strong></p> Python has a concept of <a href="https://peps.python.org/pep-0387/#soft-deprecation">soft deprecation</a>, where APIs are marked as "should no longer be used …