From b72b4ce87e7e367cf6ff4326c53ee6f81031d454 Mon Sep 17 00:00:00 2001 From: Steph Fox Date: Thu, 20 Mar 2008 15:03:20 +0000 Subject: [PATCH] Allow Elizabeth's favourite function to accept 2-4 sets of digits in version. --- win32/build/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 6841f435e6..6b4e1736cd 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -23,7 +23,7 @@ function probe_binary(EXE, what) return 1; } } else { - if (version.match(/(\d+\.\d+\.\d+(\.\d+)?)/)) { + if (version.match(/(\d+\.\d+(\.\d+)?(\.\d+)?)/)) { return RegExp.$1; } } -- 2.50.1