parent
77f79c3e77
commit
f7f9439d76
|
@ -42,7 +42,7 @@ handle remainder => sub {
|
|||
|
||||
return $response, structured_answer => {
|
||||
data => {
|
||||
title => html_enc($response),
|
||||
title => $response,
|
||||
subtitle => "Magic eight ball's answer to: ".html_enc($_)
|
||||
},
|
||||
templates => {
|
||||
|
|
|
@ -9,7 +9,7 @@ use DDG::Test::Goodie;
|
|||
zci answer_type => "magic_eight_ball";
|
||||
zci is_cached => 0;
|
||||
|
||||
my $possibleAnswers = re(qr/(It is certain|It is decidedly so|Without a doubt|Yes, definitely|You may rely on it|As I see it, yes|Most likely|Outlook good|Yes|Signs point to yes|Reply hazy try again|Ask again later|Better not tell you now|Cannot predict now|Concentrate and ask again|Don(?:'|')t count on it|My reply is no|My sources say no|Outlook not so good|Very doubtful)/);
|
||||
my $possibleAnswers = re(qr/(It is certain|It is decidedly so|Without a doubt|Yes, definitely|You may rely on it|As I see it, yes|Most likely|Outlook good|Yes|Signs point to yes|Reply hazy try again|Ask again later|Better not tell you now|Cannot predict now|Concentrate and ask again|Don't count on it|My reply is no|My sources say no|Outlook not so good|Very doubtful)/);
|
||||
|
||||
sub build_test {
|
||||
my ($input) = @_;
|
||||
|
|
Loading…
Reference in New Issue