瀏覽代碼

xchat bugfix by Michael Hostbaek

Morten Brix Pedersen 24 年之前
父節點
當前提交
29ce01cb7b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/Pisg/Parser/Format/xchat.pm

+ 2 - 2
modules/Pisg/Parser/Format/xchat.pm

@@ -13,8 +13,8 @@ sub new
     my $self = {
         cfg => $args{cfg},
         normalline => '(\d+):\d+:\d+ <([^>\s]+)>\s+(.*)',
-        actionline => '(\d+):\d+:\d+ \*\s+(\S+) (.*)',
-        thirdline  => '(\d+):(\d+):\d+ .--\s+(\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (.*)',
+        actionline => '(\d+):\d+:\d+ (\*){1,}\s+(\S+) (.*)',
+        thirdline  => '(\d+):(\d+):\d+ .{1,}--\s+(\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (.*)',
     };
 
     bless($self, $type);