mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:55:42 -04:00
more cleanup, it should work...
This commit is contained in:
parent
9eeb9ec950
commit
f40e38f095
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ sub {
|
|||
}
|
||||
else
|
||||
{
|
||||
@a = split(/(?:\bor\b|\s*,\s*)/, $said->{body});
|
||||
@a = split(/(?:\bor\b|\s*,\s*)+/, $said->{body});
|
||||
}
|
||||
|
||||
s/^\s*//, s/\s*(\?\s*)?$// for @a; #trim them up
|
||||
|
|
Loading…
Add table
Reference in a new issue