1
0
Fork 0
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:
Ryan Voots 2010-10-05 00:42:27 -04:00
parent 9eeb9ec950
commit f40e38f095

View file

@ -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