diff --git a/modules/math.pl b/modules/math.pl index b57cf13a..eb315f4e 100755 --- a/modules/math.pl +++ b/modules/math.pl @@ -25,8 +25,8 @@ if ($#ARGV < 0) $arguments = join(' ', @ARGV); my $orig_arguments = $arguments; -$arguments =~ s/(the )*answer.*question of life(,? the universe,? and everything)?\s?/42/gi; -$arguments =~ s/(the )*meaning of (life|existence|everything)?/42/gi; +$arguments =~ s/(the )*(ultimate )*answer.*question of life(,? the universe,? and everything)?\s?/42/gi; +$arguments =~ s/(the )*(ultimate )*meaning of (life|existence|everything)?/42/gi; if ($arguments =~ s/(\d+\s?)([^ ]+)\s+to\s+([^ ]+)\s*$/$1/) { @conversion = ($2, $3);