procmail
[Top] [All Lists]

Re: Procmail regexp question

1999-06-28 08:28:38
Walter asked,

|   For one of my filters I need to find one of "smtp" or "esmtp".
| I have a gut feeling that there is something more elegant than
| "(s|es)mtp".  Any help on this?

  e?smtp

A question mark means "zero or one of the preceding" or, if you prefer,
"the preceding or nothing."

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