nice.  i would just use perl and embed some code in the regular expression itself.  you are the regex MASTER.  jmz


On 4/4/06, Jeremy C. Reed < reed@reedmedia.net> wrote:
On Tue, 4 Apr 2006, Joshua Zeidner wrote:

> Ok wise guy...can you tell me all the english words that use the letter 'e'
> exactly threee times?  jmz

:)

$ cat /usr/share/dict/{pr,w}* | egrep -i '^[^e]*e[^e]*e[^e]*e[^e]*$' | \
  sort -u | wc -l
   20189

Includes some multi-word phrases, like:

Benkulen tea
Bermuda-lily disease
Dartmouth college case
yew green
zebra parakeet

And a bunch of words like Echinosphaeritidae, Juniperaceae and more.

Jeremy C. Reed
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss