procmail
[Top] [All Lists]

Re: need help with a regular expression

2001-02-22 13:42:12
Douglas Otto x6849 wrote:

I am having trouble coming up with an expression that will match any
repeated special character.  For example, at least 4 or more contiguous
occurances of a character as in !!!! or #### or ^^^^, you get the idea,
without having to match them individually.  Any ideas?

        {n,} is your friend.

For more details, consult "man egrep".

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>