On Tue, 2010-04-13 at 15:13 -0400, Charles Gregory wrote: > On Tue, 13 Apr 2010, Martin Gregorie wrote: > >>> header FROM_STARTS_WITH_NUMS From =~ /\d{6,}[a-z._-][a-z0-9._-]{0,50}@/i > >> This regex requires that the 7th character be non-numeric. > > > Nope - only that a character after the first six is a legal address > > character but non-numeric. > > Hmmm.... My bad. > I forgot that the '{6,} would match more than 6 digits... > Silly me..... <:-} > No problem - I misread your regex in a similar way. Still, its comforting to know that both approaches produce the same result.
Martin