From 05f418f9b7f593bf129e9b764a5bc52ba2c8d14a Mon Sep 17 00:00:00 2001 From: Maksim Alekseev <31767561+beehunt9r@users.noreply.github.com> Date: Sun, 10 Dec 2023 06:26:09 +0300 Subject: [PATCH] Replace 3 spaces in /D matching with \s+ expression. (#1275) --- functions/private/Get-LocalizedYesNo.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/private/Get-LocalizedYesNo.ps1 b/functions/private/Get-LocalizedYesNo.ps1 index d537d7114e..3d813d2bb4 100644 --- a/functions/private/Get-LocalizedYesNo.ps1 +++ b/functions/private/Get-LocalizedYesNo.ps1 @@ -30,7 +30,7 @@ function Get-LocalizedYesNo { break } } - elseif ($line -match "/D ") + elseif ($line -match "/D\s+") { $found = $true }