1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 22:45:45 -04:00

moved replacement

This commit is contained in:
Ryan Voots 2010-10-05 13:37:29 -04:00
parent e78bdc83c7
commit f74c951fbe

View file

@ -22,14 +22,13 @@ use List::Util qw(min);
sub {
my( $said ) = @_;
$said->{body} =~ s/^[^,]*://;
my $ors =()= $said->{body}=~m/\bor\b/g;
my $common = "";
my @a;
$said->{body} =~ s/^[^,]*://;
if ($ors >= 1)
{
@a = split(/(?:\bor\b|\s*,\s*)+/, $said->{body});