mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:55:42 -04:00
fixed bug related to no, as in "notepad is..."
This commit is contained in:
parent
747a592c56
commit
77641b63f6
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ sub store_factoid {
|
||||||
my( $self, $said) =@_;
|
my( $self, $said) =@_;
|
||||||
my ($author, $body ) = ($said->{name}, $said->{body});
|
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( $subject, $copula, $predicate ) = ($1,$2,$3);
|
||||||
my $compose_macro = 0;
|
my $compose_macro = 0;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue