1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 16:45:40 -04:00

fixed bug related to no, as in "notepad is..."

This commit is contained in:
Ryan Voots 2010-08-10 18:02:06 -04:00
parent 747a592c56
commit 77641b63f6

View file

@ -177,7 +177,7 @@ sub store_factoid {
my( $self, $said) =@_;
my ($author, $body ) = ($said->{name}, $said->{body});
return unless $body =~ /^(?:no[, ]?)?\s*(.+?)\s+($COPULA_RE)\s+(.+)$/s;
return unless $body =~ /^(?:no[, ])?\s*(.+?)\s+($COPULA_RE)\s+(.+)$/s;
my( $subject, $copula, $predicate ) = ($1,$2,$3);
my $compose_macro = 0;