mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 22:35:43 -04:00
more space trimming
This commit is contained in:
parent
ec37fa7c0a
commit
9eeb9ec950
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ sub {
|
||||||
@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
|
||||||
|
|
||||||
$common = $findcommon->(@a);
|
$common = $findcommon->(@a);
|
||||||
s/^$common// for @a; # remove the common stuff for grammar
|
s/^$common// for @a; # remove the common stuff for grammar
|
||||||
|
|
Loading…
Add table
Reference in a new issue