in message
<5(_dot_)1(_dot_)1(_dot_)6(_dot_)2(_dot_)20040301103030(_dot_)08901618(_at_)mail(_dot_)professional(_dot_)org>,
wrote Professional Software Engineering thusly...
At 12:37 2004-03-01 -0500, Curtis Maurand wrote:
given the following domain name: erx54843rx.com
If I've understood the docs correctly, I should be able to catch this
with: erx[0-9]{1,5}rx\.com
What docs? Procmail doesn't use the (n,m) count syntax, so you're
not picking that one from procmail docs.
Promailrc(5) notes the phrase "regular expressions are completely
compatible to the normal egrep" ...
Conditions start with a leading `*', everything after that character
is passed on to the internal egrep literally, except for
leading and trailing whitespace. These regular expressions are
completely compatible to the normal egrep(1) extended regular
expressions. See also Extended regular expressions.
And in my egrep(1) (FreeBSD 4.8 grep(1) here)...
A regular expression may be followed by one of several repetition oper-
ators:
...
{n} The preceding item is matched exactly n times.
{n,} The preceding item is matched n or more times.
{n,m} The preceding item is matched at least n times, but not more
than m times.
Yes, i, personally, am aware of the (non)issue, & personally do not
have much problem. Above is only to counter your point.
- Parv
--
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail