Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
Search queries such as "EE123456789HK hongkong" now work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jag Talon committed Mar 18, 2013
1 parent fbd5013 commit 9bdfb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DDG/Goodie/HKDK.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ attribution web => [ 'https://www.duckduckgo.com', 'DuckDuckGo' ],
github => [ 'https://github.com/duckduckgo', 'duckduckgo'],
twitter => ['http://twitter.com/duckduckgo', 'duckduckgo'];

triggers query_nowhitespace_nodash => qr/^([a-z]{2}\d{9}(?:hk|dk))$/xi;
triggers query_nowhitespace_nodash => qr/([a-z]{2}\d{9}(?:hk|dk))/i;

handle query_nowhitespace_nodash => sub {
my $package_number = $1;
Expand Down

0 comments on commit 9bdfb37

Please sign in to comment.