summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2022-01-10 15:08:44 +0000
committerAndrew Dunstan2022-01-10 15:12:43 +0000
commit03c545b66f748b9318d13bbc90f05f136a465484 (patch)
treefdb9f18a512e99852451dd6e2066e157abc19464
parent38cbdd22d633851413471d501633a038d36dc649 (diff)
Avoid warning about uninitialized value in MSVC python3 tests
Juan José Santamaría Flecha Backpatch to all live branches
-rw-r--r--src/tools/msvc/vcregress.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 88e0df1c2ec..cf98f311807 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -313,7 +313,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);