an interesting challenge.

Joshua Zeidner jjzeidner at gmail.com
Wed Apr 5 18:25:57 MST 2006


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 at 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 at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plug.phoenix.az.us/pipermail/plug-discuss/attachments/20060405/e6248ca6/attachment.htm


More information about the PLUG-discuss mailing list