mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 22:35:43 -04:00
moved replacement
This commit is contained in:
parent
e78bdc83c7
commit
f74c951fbe
1 changed files with 2 additions and 3 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Reference in a new issue