mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-09 01:05:42 -04:00
emergency will robinson! emergency!
bug in regex
This commit is contained in:
parent
7bbfab023e
commit
149f875d72
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