procmail
[Top] [All Lists]

Re: equivalent for backreference \1

2002-08-03 07:30:31
On 2002-08-03 15:56:12, Hanspeter Roth wrote:
I want to use something like [0-9]\1\1 to match a sequence of three
equal digits. This should match 111 and 222 but not 122.

Is there something equivalent in procmail/egrep?

I think {} is implemented: {000,111, ..., 999}


/Allan
-- 
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA

Attachment: pgpqVityzFw5G.pgp
Description: PGP signature