mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-08 00:05:47 -04:00
fixing factoid bug IO::ASYNC
This commit is contained in:
parent
20941afb42
commit
f7738cd25f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,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 =~ /^(?:\S+[:,])?\s*(.+?)\s+($COPULA_RE)\s+(.+)$/s;
|
return unless $body =~ /^\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