Re: Stupid ebay trick

2005-11-02 Thread jdow
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

Re: Stupid ebay trick

2005-11-02 Thread Matt Yackley
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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

Re: Stupid ebay trick

2005-11-02 Thread Kelson
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

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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

Re: Stupid ebay trick

2005-11-02 Thread Kelson
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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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}

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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 >

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

Re: Stupid ebay trick

2005-11-02 Thread Chris
[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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

Re: Stupid ebay trick

2005-11-02 Thread Kelson
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

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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 >>

Re: Stupid ebay trick

2005-11-02 Thread Chris
[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

Re: Stupid ebay trick

2005-11-02 Thread jdow
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

RE: Stupid ebay trick

2005-11-02 Thread Matthew.van.Eerde
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

Stupid ebay trick

2005-11-02 Thread jdow
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