From 90657b42bfd592d906989023886ff2875ff2ae95 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 10 Jan 2022 10:08:44 -0500 Subject: [PATCH] Avoid warning about uninitialized value in MSVC python3 tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Juan José Santamaría Flecha Backpatch to all live branches --- src/tools/msvc/vcregress.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 8f3e3fa937..7575acdfdf 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -347,7 +347,7 @@ sub mangle_plpython3 s/([ [{])u'/$1'/g; s/def next/def __next__/g; s/LANGUAGE plpython2?u/LANGUAGE plpython3u/g; - s/EXTENSION ([^ ]*_)*plpython2?u/EXTENSION $1plpython3u/g; + s/EXTENSION (\S*?)plpython2?u/EXTENSION $1plpython3u/g; s/installing required extension "plpython2u"/installing required extension "plpython3u"/g; } for ($contents);