Trendora

re.match()

Assess

Tools

A Python regular-expression function that matches a pattern at the start of a string.

Why it's here

Placed in Assess: 1 article(s) of evidence from 1 source(s), led by framework updates, with 1 in the last 30 days. Confidence 24%. Low accumulated evidence, so it defaults conservatively pending more signal.

Evidence (1)

  • 4Simon Willison·9/11/2026framework_update
    Python soft-deprecates re.match()

    Python 3.15 will soft-deprecate re.match(), signaling that it should not be used for new code while keeping it available. The function is being complemented by re.prefixmatch(), a clearer name for matching from the start of a string; in many cases, re.search() or re.fullmatch() are better choices.