fix regex

This commit is contained in:
amd64fox
2022-07-21 09:40:50 +03:00
parent 96ceebda0c
commit 93127b1376

View File

@@ -550,7 +550,7 @@ $testHosts = Test-Path -Path $pathHosts
if ($testHosts) { if ($testHosts) {
$hosts = Get-Content -Path $pathHosts $hosts = Get-Content -Path $pathHosts
if ($hosts -match '^[^\#| ].+scdn.+|^[^\#].+spotify.+') { if ($hosts -match '^[^\#|].+scdn.+|^[^\#|].+spotify.+') {
Write-Host ($lang).HostDel`n Write-Host ($lang).HostDel`n
try { try {