Python 3.15 includes soft deprecation for the re.match() function. The function is marked as one that should no longer be used to write new code. The release manager, Hugo van Kemenade, describes this change. The alternative function, re.prefixmatch(), is available. It anchors at the beginning of the string but not the end. Most of the time, re.search() or re.fullmatch() are preferred. These functions match the pattern anywhere in the string or match the entire string, respectively.
Source: https://simonwillison.net/2026/Sep/11/soft-deprecating-re-match/