1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-08 00:15: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 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 s/^\s*//, s/\s*(\?\s*)?$// for @a; #trim them up