mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
in eager mode, it looks silly if we don't trim trailing dots.
This commit is contained in:
parent
4f2e5da122
commit
c147440f3f
@ -264,7 +264,7 @@ sub DoFactoidCheck {
|
||||
$1, # subject
|
||||
$direct || $self->{'ridiculouslyEagerToHelp'})
|
||||
if ($3 or ($direct == 2 and $self->{'eagerToHelp'}));
|
||||
} elsif ((not $direct or $direct == 2) and $shortMessage =~ /^(.+?)[?\s]*(\?)?[?\s]*$/osi) {
|
||||
} elsif ((not $direct or $direct == 2) and $shortMessage =~ /^(.+?)[?!.\s]*(\?)?[?!.\s]*$/osi) {
|
||||
$self->GiveFactoid($event,
|
||||
undef, # is/are (optional)
|
||||
$1, # subject
|
||||
|
Loading…
Reference in New Issue
Block a user