diff --git a/lib/DDG/Goodie/Calculator.pm b/lib/DDG/Goodie/Calculator.pm index 970bb6f1a..a166371a8 100644 --- a/lib/DDG/Goodie/Calculator.pm +++ b/lib/DDG/Goodie/Calculator.pm @@ -26,6 +26,16 @@ handle query_nowhitespace => sub { return scalar reverse $text; } + sub spacing { + my $text = shift; + $text =~ s/(\s*(? sub { } } - sub spacing { - my $text = shift; - $text =~ s/(\s*(?