From c93174ac158d0e4856c54e715b402312d1e32c51 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 28 Mar 2010 15:16:34 +0000 Subject: [PATCH] Improved codepad.pl --- modules/codepad.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/codepad.pl b/modules/codepad.pl index 259787f2..c4bc29f1 100755 --- a/modules/codepad.pl +++ b/modules/codepad.pl @@ -77,4 +77,9 @@ $output =~ s/\s+/ /g; $output =~ s/^\s+//g; $output =~ s/\s+$//g; +$output =~ s/ Line 1 ://g; +$output =~ s/ \(first use in this function\)//g; +$output =~ s/error: \(Each undeclared identifier is reported only once.*?\)//g; +$output =~ s/error: (.*?) error/error: $1; error/g; + print "$nick: $output\n";