On Thu, Mar 21, 2002 at 12:21:21PM -, Tony Hoyle wrote:
> I just received a mail whose title contained:
>
> Subject: 8 P [ADV:ADLT] Time for Detention girls.. l
>
> ADVERT_CODE is set to
>
> Subject =~ /(^\s*|\s+)ADV:/i
>
> Shouldn't this be something like:
>
> Subject =~ /\bADV:/i
>
I just received a mail whose title contained:
Subject: 8 P [ADV:ADLT] Time for Detention girls.. l
ADVERT_CODE is set to
Subject =~ /(^\s*|\s+)ADV:/i
Shouldn't this be something like:
Subject =~ /\bADV:/i
..since you don't have to start a word with a space.
Also why is ADVERT_CODE set to