git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@36
c11ca15a-4712-0410-83d8-
924469b57eb5
&status("orig factoid already had trailing symbol; not adding period.");
$rhs = $exists." ".$rhs;
}
- } elsif ($exists =~ /\,\s*$/) {
+ } elsif ($exists =~ /[\,\.\-]\s*$/) {
+ &VERB("U: current has trailing symbols; inserting whitespace + new.",2);
$rhs = $exists." ".$rhs;
} elsif ($rhs =~ /^\./) {
+ &VERB("U: new text has ^.; appending directly",2);
$rhs = $exists.$rhs;
} else {
$rhs = $exists.', or '.$rhs;