nice. i would just use perl and embed some code in the regular expression itself. you are the regex MASTER. jmz
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