From: Mark Walling Date: Wed, 10 Jun 2009 18:09:45 +0000 (-0400) Subject: added !foo to the "hash tag" hilight regexp, since it seemed to flow with how identic... X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/cd891f508d19f802facaddd9d5dce958a60695f3 added !foo to the "hash tag" hilight regexp, since it seemed to flow with how identica flows --- 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;