an interesting challenge.

Darrin Chandler dwchandler at stilyagin.com
Thu Apr 6 07:46:39 MST 2006


Ok,  I had to abandon my first attempt and start over. But this'll work...

cat /usr/share/dict/{pr,w}* | egrep -i '^(ci|ie|[^i])*$' | sort -u

Joshua Zeidner wrote:

> ok... for the title of REGEX MASTER... exactly how many words in the 
> english language have all 'i's directly before an 'e's except after a 
> 'c'( ie. you can have an i that is not following an e as long as it is 
> after a c )?


-- 
Darrin Chandler            |  Phoenix BSD Users Group
dwchandler at stilyagin.com   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |



More information about the PLUG-discuss mailing list