This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

counting consecutive consonants in any nick

Old posts that have not been replied to for several years.
Locked
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

counting consecutive consonants in any nick

Post by z_one »

How to detect if a nick who just joined the chan has 5 or more CONSECUTIVE consonants ?

Thanks guys
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

regexp -nocase {[^a,e,i,o,u]{5}} $nick
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

Thx :)
User avatar
z_one
Master
Posts: 269
Joined: Mon Jan 14, 2002 8:00 pm
Location: Canada

Post by z_one »

Ok how do I check if the same consonant is not repeated consecutively more than twice in the nick.

Example:
nickkkkz (the consonant k is repeated 4 consecutive times)
nickkzk (the consonant k is not repeated more than twice consecutively)
Locked