From 7d893626892210c944c7dac745d6e1a909a56046 Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Thu, 30 May 2024 08:08:54 +0200 Subject: [PATCH] regex --- automatic/trojan-remover/update.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automatic/trojan-remover/update.ps1 b/automatic/trojan-remover/update.ps1 index 83960fdc1..2bcff1560 100644 --- a/automatic/trojan-remover/update.ps1 +++ b/automatic/trojan-remover/update.ps1 @@ -6,9 +6,9 @@ $releases = 'https://www.simplysup.com/tremover/download_full.html' function global:au_SearchReplace { @{ "legal\VERIFICATION.txt" = @{ - "(url32\s+:).*" = "`${1} $($Latest.URL32)" - "(checksum32\s+:).*" = "`${1} $($Latest.Checksum32)" - "(checksumtype\s+:).*" = "`${1} $($Latest.ChecksumType32)" + "(url32+:).*" = "`${1} $($Latest.URL32)" + "(checksum32+:).*" = "`${1} $($Latest.Checksum32)" + "(checksumtype+:).*" = "`${1} $($Latest.ChecksumType32)" } } }