added new attribution to NLetterWords

master
Dylan Lloyd 2012-11-06 12:58:47 -05:00
parent 263a6a6f3c
commit 160006f3bb
1 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,16 @@ triggers end => "words", "word";
zci is_cached => 0;
primary_example_queries => '5 letter words';
secondary_example_queries => '12 character words';
description 'find words of a certain length';
name 'NLetterWords';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/NLetterWords.pm';
topics => 'language';
categories => 'words_and_games';
attribution github => 'http://github.com/'
web => ['http://dylansserver.com/', 'Dylan Lloyd'];
handle query_parts => sub {
my $numericalized = str2nbr($_);
return unless $numericalized =~ /^(\d{1,50}) (letter|char|character) words?$/;