Re: an interesting challenge.

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Darrin Chandler
Date:  
À: Main PLUG discussion list
Sujet: Re: an interesting challenge.
Kevin Brown wrote:

>> 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.



Read it some more ;)

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


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