procmail
[Top] [All Lists]

Re: Specific number of digits

1997-12-12 22:37:39
At 04:10 PM, 12 December 1997, Eric Hilding <eric(_at_)hilding(_dot_)com> wrote:
Would [0-9]{5,} be a legal call for specifically *at least* 5 digits
in a procmail recipe???

Unfortunately, procmail regexps do not support braces so you'd need to
use:

  [0-9][0-9][0-9][0-9][0-9]+

-- 
Aaron Schrab     aaron(_at_)schrab(_dot_)com      http://www.execpc.com/~aarons/
 If you have to be a dictating czar, and you have to kill people with axes,
 Peter the Great did it like nobody else.  -- Anne Rice