Permalink
Browse files

use literal unicode character in example query

  • Loading branch information...
majuscule committed Dec 4, 2012
1 parent 6e02789 commit e6870e31e97c2f9d80d50cf8b0c67f0c6abd2993
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/DDG/Goodie/ResistorColors.pm
@@ -11,6 +11,7 @@ package DDG::Goodie::ResistorColors;
use DDG::Goodie;
use Math::Round;
use POSIX qw(abs floor log10 pow);
+use utf8;
# \x{2126} is the unicode ohm symbol
triggers query_nowhitespace => qr/^(.*)(ohm|ohms|\x{2126})/i;
@@ -19,7 +20,7 @@ zci is_cached => 1;
zci answer_type => 'resistor_colors';
primary_example_queries '4.7k ohm';
-secondary_example_queries '1\x{2126}';
+secondary_example_queries '1Ω';
description 'find resistor color bands';
name 'ResistorColors';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/ResistorColors.pm';

0 comments on commit e6870e3

Please sign in to comment.