From 77641b63f679ec3432e6d2723bd6625b0aadd021 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Tue, 10 Aug 2010 18:02:06 -0400 Subject: [PATCH] fixed bug related to no, as in "notepad is..." --- plugins/factoids.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/factoids.pm b/plugins/factoids.pm index aab85d0..3b1d0dd 100644 --- a/plugins/factoids.pm +++ b/plugins/factoids.pm @@ -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;