Committer: dpetrov
LJSUP-11909: Fast Repost feature. Fix regex typo.U trunk/cgi-bin/LJ/CleanHtml/Like.pm
Modified: trunk/cgi-bin/LJ/CleanHtml/Like.pm =================================================================== --- trunk/cgi-bin/LJ/CleanHtml/Like.pm 2012-05-28 08:13:37 UTC (rev 12016) +++ trunk/cgi-bin/LJ/CleanHtml/Like.pm 2012-05-28 08:44:30 UTC (rev 12017) @@ -44,7 +44,7 @@ my @buttons = (); foreach my $button ( split /,\s*/, $buttons_list ) { - if ($button =~ /^(?:re|repost)%/i) { + if ($button =~ /^(?:re|repost)$/i) { push @buttons, 'repost'; } elsif ( $button =~ /^(?:fb|facebook)$/i ) {