summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2022-01-10 15:08:44 +0000
committerAndrew Dunstan2022-01-10 15:08:44 +0000
commit90657b42bfd592d906989023886ff2875ff2ae95 (patch)
treef79047055720bc6d0aa5b2ed3590faf393a52584
parentf3e78069db7f7a753ebfe1010b810e47e0d2aa9a (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 8f3e3fa937b..7575acdfdf5 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);