]> git.localhorst.tv Git - alttp.git/commitdiff
TFL fix
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 13 May 2026 10:59:28 +0000 (12:59 +0200)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Wed, 13 May 2026 10:59:28 +0000 (12:59 +0200)
app/Console/Commands/SyncTFL.php

index c9436cdabfb4c555e8385ffaf1a03a0b99be6cfd..5ada15624c6287037a71717303610b82e3276fc3 100644 (file)
@@ -102,7 +102,7 @@ class SyncTFL extends Command {
                $episode->confirmed = true;
                $episode->save();
 
-               if (!preg_match('/\\| (.*) vs\\. (.*) \\|/', $tflEntry['name'], $matches)) {
+               if (!preg_match('/\\| ([^|]+) vs\\. ([^|]+) \\|/', $tflEntry['name'], $matches)) {
                        return;
                }
                $tflPlayers = [$matches[1], $matches[2]];