Re: an interesting challenge.

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Kevin Brown
Päiväys:  
Vastaanottaja: Main PLUG discussion list
Aihe: Re: an interesting challenge.
> egrep -i '^[^e]*(e[^e]*){3}[^e]*$'
>
> Not only is it slightly shorter and more readable, but it's a lot easier
> change it to search for of 'e' exactly n times.


If I'm reading the regexp correctly you are excluding words that start
with e or contain more than one e in a row.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss