On Fri, 2 Nov 2007, Mike Kenny wrote:

> Thanks John, I had tried this. It appears that the \1 is not
> defined within the pattern. Only for substitution?

It should work within perl match REs per "man perlre". I'm not sure 
how SA changes that context.

You might also try:

  /<dw(\S+)[EMAIL PROTECTED]>/

but I'm less confident $+ will work in a match (vs. a substitution).

> On 11/2/07, John D. Hardin <[EMAIL PROTECTED]> wrote:
>
> >   header XX From =~ /<dw(\S+)[EMAIL PROTECTED]>/

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]    FALaholic #11174     pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
                                           -- Peter da Silva in a.s.r
-----------------------------------------------------------------------
 2 days until Daylight Saving Time ends in U.S. - Fall Back

Reply via email to