From cd891f508d19f802facaddd9d5dce958a60695f3 Mon Sep 17 00:00:00 2001 From: Mark Walling Date: Wed, 10 Jun 2009 14:09:45 -0400 Subject: [PATCH] added !foo to the "hash tag" hilight regexp, since it seemed to flow with how identica flows --- twirssi.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twirssi.pl b/twirssi.pl index 42718dd..af1d3d3 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -1382,7 +1382,7 @@ sub hilight { if ( Irssi::settings_get_str("twirssi_topic_color") ) { my $c = Irssi::settings_get_str("twirssi_topic_color"); $c = $irssi_to_mirc_colors{$c}; - $text =~ s/(^|\W)\#([-\w]+)/$1\cC$c\#$2\cO/g if $c; + $text =~ s/(^|\W)(\#|\!)([-\w]+)/$1\cC$c$2$3\cO/g if $c; } $text =~ s/[\n\r]/ /g; -- 2.39.5