From 3ffde91c79f247a205efd3d8b7c85c28a74a6e94 Mon Sep 17 00:00:00 2001 From: lookshe Date: Tue, 1 Jul 2014 11:56:22 +0200 Subject: typo in regex --- firstseen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firstseen.pl b/firstseen.pl index 7d8f3b6..998836b 100644 --- a/firstseen.pl +++ b/firstseen.pl @@ -38,7 +38,7 @@ foreach $line () { if ($line =~ m/^\[00:00(:00)?\] --- /){ ($date=$line)=~s/^\[00:00(:00)?\] --- (.*)\n/$2/; } - if ($line =~ m/^\[[0-9]{2}:[0-9]{2}(:[0-]{2})?\] Nick change: .* -> $snick/i) { + if ($line =~ m/^\[[0-9]{2}:[0-9]{2}(:[0-9]{2})?\] Nick change: .* -> $snick/i) { ($newnick=$line)=~s/.* Nick change: (.*) -> $snick\n/$1/i; print "$nick was $newnick\n"; exec($^X, $0, $folder, $chan, $newnick); -- cgit v1.2.3