procmail
[Top] [All Lists]

Range matching

2000-11-09 07:32:02
Question:
How do I build an expression that will range match?  

Example
I want to match the following;
Subject:  Report 677   or  
Subject: Report 65      but not
Subject: Report 1       or
Subject: Report 3212

My expression here would be.... *Subject:.Report.[0-9]\{2,3\}

I.e. I want to match where the Subject starts with "Report" followed by
either 2 or 3 digits.  The above expression does not match the examples
provided although it should.

What am I doing wrong?
_______________________________________________
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>