procmail
[Top] [All Lists]

Re: regex double checking

1997-10-20 10:08:38
Timothy J Luoma <luomat+procmail(_at_)luomat(_dot_)peak(_dot_)org> writes:
can I use a ? after a set of [ ] like this:

       (majordomo|listless|mail[2356]?)\.netcom\.com|\

(yes I do want to match mail.netcom.com as well)

Yes.  The ?, *, and + operators can be applied to any regexp expect the
empty one atom.


Philip Guenther

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