From: "Kelson" <[EMAIL PROTECTED]>
Kelson wrote:
Chris wrote:
Understood, but I don't see the point in being lax with that match.
Perhaps I ebay too much using the address [EMAIL PROTECTED] ;)
Good point. Now that I think about it, just a few weeks ago I won an
auction from someone who use
jdow said:
>
snip
>>>Yup, it sure does, but that's OK. The intent was to detect email messages
>>>where:
>>>
>>>1) From matches /\bebay\b/i
>>>2) From DOES NOT MATCH /[EMAIL PROTECTED]/i
>>>
>>>The fact that "@ebay." matches /bebay\b/ is irrelevant.
> Let's see if I can amplify the intent.
>
> T
From: "Kelson" <[EMAIL PROTECTED]>
Chris wrote:
Understood, but I don't see the point in being lax with that match.
Perhaps I ebay too much using the address [EMAIL PROTECTED] ;)
Good point. Now that I think about it, just a few weeks ago I won an
auction from someone who used an address si
Kelson wrote:
Chris wrote:
Understood, but I don't see the point in being lax with that match.
Perhaps I ebay too much using the address [EMAIL PROTECTED] ;)
Good point. Now that I think about it, just a few weeks ago I won an
auction from someone who used an address similar to
[EMAIL PROTE
Kelson wrote:
> I forget, do numbers trigger word boundaries?
No. Wordish things include: letters, numbers, and the underscore.
--
Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
Chris wrote:
Understood, but I don't see the point in being lax with that match.
Perhaps I ebay too much using the address [EMAIL PROTECTED] ;)
Good point. Now that I think about it, just a few weeks ago I won an
auction from someone who used an address similar to
[EMAIL PROTECTED] That add
From: <[EMAIL PROTECTED]>
jdow wrote:
my head keeps thinking "blank" for \b rather than boundary.
FWIW, I keep thinking "bell" :)
<< Aw shucks, now you've screwed me up worse. Somehow I was
<< skipping over beep and bell in the search pattern. ARGH!
<< I'm ruined!
{O,o}
From: "Chris" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] wrote:
Chris wrote:
Matthew,
@ebay.com matches that doesn't it?
Yup, it sure does, but that's OK. The intent was to detect email messages
where:
1) From matches /\bebay\b/i
2) From DOES NOT MATCH /[EMAIL PROTECTED]/i
The fact
jdow wrote:
> And a detail here - Does a "From" test include all characters
> after the ":" or after the ": "? That would change things, too.
After the ": "
From: "Joe User" <[EMAIL PROTECTED]>
^
The tested value starts at the first " and ends at the final >
jdow wrote:
> my head keeps thinking "blank" for \b rather than boundary.
FWIW, I keep thinking "bell" :)
--
Matthew.van.Eerde (at) hbinc.com 805.964.4554 x902
Hispanic Business Inc./HireDiversity.com Software Engineer
From: "Kelson" <[EMAIL PROTECTED]>
jdow wrote:
Actually I wanted to catch " or . or blankness. And my head keeps
trying to make \b be blankness. If \b is boundary which includes
" and . in the definition of boundary that's fine.
Yeah, \b matches a word Boundary. For blankness you probably wa
[EMAIL PROTECTED] wrote:
Chris wrote:
Matthew,
@ebay.com matches that doesn't it?
Yup, it sure does, but that's OK. The intent was to detect email messages
where:
1) From matches /\bebay\b/i
2) From DOES NOT MATCH /[EMAIL PROTECTED]/i
The fact that "@ebay." matches /bebay\b/ is i
From: <[EMAIL PROTECTED]>
jdow wrote:
jdow wrote:
===8<--- This set of rules nails it cold.
header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
Actually I wanted to catch " or . or blankness. And my head keeps
trying to make \b be blankness. If \b is boundary which includes
" a
jdow wrote:
Actually I wanted to catch " or . or blankness. And my head keeps
trying to make \b be blankness. If \b is boundary which includes
" and . in the definition of boundary that's fine.
Yeah, \b matches a word Boundary. For blankness you probably want \s
which matches whiteSpace (incl
jdow wrote:
>>> jdow wrote:
===8<--- This set of rules nails it cold.
header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
>
> Actually I wanted to catch " or . or blankness. And my head keeps
> trying to make \b be blankness. If \b is boundary which includes
> " and . in
From: "Chris" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] wrote:
jdow wrote:
Since you're feeling pedantic...
===8<--- This set of rules nails it cold.
header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
An exactly equivalent expression is:
From =~ /\bebay\b/i
This also h
Chris wrote:
> [EMAIL PROTECTED] wrote:
>
>> jdow wrote:
>>
>> Since you're feeling pedantic...
>>
>>> ===8<--- This set of rules nails it cold.
>>> header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
>>>
>>
>> An exactly equivalent expression is:
>> From =~ /\bebay\b/i
>>
[EMAIL PROTECTED] wrote:
jdow wrote:
Since you're feeling pedantic...
===8<--- This set of rules nails it cold.
header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
An exactly equivalent expression is:
From =~ /\bebay\b/i
This also has the added advantage of
From: <[EMAIL PROTECTED]>
jdow wrote:
Since you're feeling pedantic...
===8<--- This set of rules nails it cold.
header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
An exactly equivalent expression is:
From =~ /\bebay\b/i
This also has the added advantage of not populating
jdow wrote:
Since you're feeling pedantic...
> ===8<--- This set of rules nails it cold.
> header JD_SIMPLE_EBAY_SPOOFaFrom =~ /(\"|\.|\b)ebay(\"|\.|\b)/i
An exactly equivalent expression is:
From =~ /\bebay\b/i
This also has the added advantage of not populating $1 and $2.
--
Matt
From: "eBay" <[EMAIL PROTECTED]>
Many MUAs will display simply "ebay". If you've not had your first morning
cuppa "stuff" you might be tempted to click on it if it escapes other spam
rules as this list of cell phones for sale did. So I decided to nail the
sucker to the wall if it's ever tried on
21 matches
Mail list logo