]> ruin.nu Git - ndwebbie.git/commitdiff
Need to escape whitespaces when using /x
authorMichael Andreen <harv@ruin.nu>
Mon, 16 Jun 2008 22:16:17 +0000 (00:16 +0200)
committerMichael Andreen <harv@ruin.nu>
Mon, 16 Jun 2008 22:16:17 +0000 (00:16 +0200)
NDWeb/Pages/LaunchConfirmation.pm

index 8c94dae1823e24a606f4f1bee2cdaeddce739089..581ad7b71c2498a1d9ce2f2f803215ff8a9c87ae 100644 (file)
@@ -67,7 +67,7 @@ sub render_body {
                $DBH->begin_work;
                while ($missions =~ m/([^\n]+)\s+(\d+):(\d+):(\d+)\s+(\d+):(\d+):(\d+)
                        \s+\((?:(\d+)\+)?(\d+)\).*?(?:\d+hrs\s+)?\d+mins?\s+
-                       (Attack|Defend|Return|Fake Attack|Fake Defend)
+                       (Attack|Defend|Return|Fake\ Attack|Fake\ Defend)
                        (.*?)
                        (?:Launching\ in\ tick\ (\d+),\ arrival\ in\ tick\ (\d+)
                                |ETA:\ \d+,\ Return\ ETA:\ (\d+)