diff --git a/test/parallel/test-process-versions.js b/test/parallel/test-process-versions.js index 56e3dc67e6a81c..ab2f217e963261 100644 --- a/test/parallel/test-process-versions.js +++ b/test/parallel/test-process-versions.js @@ -54,7 +54,7 @@ if (common.hasCrypto) { // The following also matches a development version of OpenSSL 3.x which // can be in the format '3.0.0-alpha4-dev'. This can be handy when building // and linking against the main development branch of OpenSSL. - /^\d+\.\d+\.\d+(-[-a-z0-9]+)?$/ : + /^\d+\.\d+\.\d+(?:[-+][a-z0-9]+)*$/ : /^\d+\.\d+\.\d+[a-z]?(\+quic)?(-fips)?$/; assert(versionRegex.test(process.versions.openssl)); }