This page exists thanks to Daniel Nash, the Linux standard dictionaries, and PHP.

Enter the word part for which you wish to search (regular expressions accepted)

  • The caret character '^' matches the beginning of the word.
  • The dollar-sign character '$' matches the end of the word.
  • To search for one of a set of letters, use square brackets, like '[abcde]' or '[a-e]' (one of a, b, c, d, or e).
  • To search for zero or more of an item, use '[a-e]*'
  • For one or more, use '[a-e]+'
  • To group letters together, use parentheses along with '*' or '+', such as 'd(abc)*', which would match 'd', 'dabc', 'dabcabc', etc.
  • Use [[:cons:]] to match a consonant, and [[:vowel:]] to match a vowel.
">
">
The letter 'y' is a > consonant and/or a > vowel
Columns to display: >
Search dictionary:
Highlight search text: >
Link results to
"; $link_final = ""; } elseif($link == "allwords") { if($dictionary == "spanish") { $dict_la = "ESP"; } else { $dict_la = "ENG"; } $link_begin = ""; $link_final = ""; } elseif($link == "spanishdict") { if($dictionary == "spanish") { $link_begin = ""; $link_final = ""; } elseif($link == "dictcom") { $link_begin = ""; $link_final = ""; } elseif($link == "brit") { $link_begin = ""; $link_final = ""; } else { $link_begin = ""; $link_final = ""; } } else { $link_begin = ""; $link_end = ""; $link_final = ""; } function do_link_begin($word) { global $link_begin; if($link_begin != "") { global $link_end; echo "$link_begin$word$link_end"; } } if ($query != "") { if ($query2 != "") { echo "\n

Result of search \"$query\" $boolop \"$query2\" on dictionary \"$dictionary\"

"; echo "\nPlease wait...
\n"; } else { echo "\n

Result of search \"$query\" on dictionary \"$dictionary\"

"; echo "\nPlease wait...
\n"; } if ($yvowel) { $query = ereg_replace("\[\[:vowel:\]\]", "[aeiouy]", $query); } else { $query = ereg_replace("\[\[:vowel:\]\]", "[aeiou]", $query); } if ($ycons) { $query = ereg_replace("\[\[:cons:\]\]", "[^aeiou]", $query); } else { $query = ereg_replace("\[\[:cons:\]\]", "[^aeiouy]", $query); } if ($query2 != "") { $query2 = ereg_replace("\[\[:vowel:\]\]", "[aeiouy]", $query2); $query2 = ereg_replace("\[\[:cons:\]\]", "[^aeiou]", $query2); if ($boolop == "and") { $command = "zcat $base_dir/$dictionary"; $command .= " | egrep -i \"$query\""; $command .= " | egrep -i \"$query2\""; } elseif ($boolop == "not") { $command = "zcat $base_dir/$dictionary"; $command .= " | egrep -i \"$query\""; $command .= " | egrep -iv \"$query2\""; } else { $command = "zcat $base_dir/$dictionary"; $command .= " | egrep -i \"($query)|($query2)\""; } } else { $command = "zcat $base_dir/$dictionary"; $command .= " | egrep -i \"$query\""; } $output = `$command`; $word_list = split("[\n\r]", $output); $count = count($word_list); if($count > 0 && $word_list[$count-1] == "") { $count -= 1; } if($count == 0) { echo "\n

No matches found."; } else { echo "\n

$count matches found."; echo "\n

"; $count = 0; foreach($word_list as $word) { if($word == "") break; if($count == 0) { echo "\n"; } echo "\n
"; do_link_begin($word); if(!$highlight) { echo "$word"; } else { echo eregi_replace("($query)", "\\1", $word); } echo "$link_final"; $count += 1; $count %= $columns; } echo "
"; } } ?>