Re: number in sender name

2021-07-11 Thread John Hardin
On Sun, 11 Jul 2021, Martin Gregorie wrote: BTW, the online regex development page URLs I gave were working as expected at the time I wrote that note. I second those resources, especially regex101.com - it has a visual debugger that will step through the pattern matching process. It's *very*

Re: number in sender name

2021-07-11 Thread Martin Gregorie
You're right: my copy of the Camel book is the Third edition, from 2000. The cover has a corner tagged with 'revised and updated'. The 4th edition was released on 2012.  It covers Perl 5.6 with the title changed to  "Programming Perl: Unmatched power for text processing and scripting"  and also c

Re: number in sender name

2021-07-11 Thread Kevin A. McGrail
Martin Gregorie wrote: If you have a copy of "The Camel Book", otherwise known as "Programming Perl" by Larry Wall, Tom Christiansen & John Orwant" pub. O'reilly, or know somebody who has a copy, have a read of Chapter 5 'Pattern Matching' which contains about the clearest explanation of how re

Re: number in sender name

2021-07-11 Thread Joe Acquisto-j4
Thanks for all the solutions and suggestions. joe a. > Anyone have a regex example handy that can detect any number of digits before > @ sign? > Not a regex maven at all. What searching I did on this topic just served to > kick the bee hive. > > Perhaps memory fails, but was there not, on

Re: number in sender name

2021-07-10 Thread Jared Hall
Martin Gregorie wrote: Not a direct reply, but: If you have a copy of "The Camel Book", otherwise known as "Programming Perl" by Larry Wall, Tom Christiansen & John Orwant" pub. O'reilly, or know somebody who has a copy, have a read of Chapter 5 'Pattern Matching' which contains about the clear

Re: number in sender name

2021-07-10 Thread Martin Gregorie
Not a direct reply, but: If you have a copy of "The Camel Book", otherwise known as "Programming Perl" by Larry Wall, Tom Christiansen & John Orwant" pub. O'reilly, or know somebody who has a copy, have a read of Chapter 5 'Pattern Matching' which contains about the clearest explanation of how re

Re: number in sender name

2021-07-10 Thread John Hardin
On Sat, 10 Jul 2021, Joe Acquisto-j4 wrote: Using SpamAssassin 3.4.5 (2021-03-20) Perhaps memory fails, but was there not, once, a standard rule that detected non alpha characters in sender name? The domain/provider is not of interest for this question. Such as this item (not the actual send

Re: number in sender name

2021-07-10 Thread Matus UHLAR - fantomas
On 10.07.21 12:31, Joe Acquisto-j4 wrote: Anyone have a regex example handy that can detect any number of digits before @ sign? Not a regex maven at all. What searching I did on this topic just served to kick the bee hive. maybe it helps: header FROM_LOCAL_DIGITS From =~ /\d{11}\S*\@/

Re: number in sender name

2021-07-10 Thread Bill Cole
On 2021-07-10 at 12:31:13 UTC-0400 (Sat, 10 Jul 2021 12:31:13 -0400) Joe Acquisto-j4 is rumored to have said: Anyone have a regex example handy that can detect any number of digits before @ sign? /[0-9]+\@/ Not a regex maven at all. What searching I did on this topic just served to kick

Re: number in sender name

2021-07-10 Thread Joe Acquisto-j4
Anyone have a regex example handy that can detect any number of digits before @ sign? Not a regex maven at all. What searching I did on this topic just served to kick the bee hive. >> Perhaps memory fails, but was there not, once, a standard rule that >> detected non alpha characters in > se

Re: number in sender name

2021-07-10 Thread Loren Wilton
Perhaps memory fails, but was there not, once, a standard rule that detected non alpha characters in sender name? The domain/provider is not of interest for this question. I think there was, but I suspect that the spam/ham ratio would be about even, which is probably why it doesn't show up now

number in sender name

2021-07-10 Thread Joe Acquisto-j4
Using SpamAssassin 3.4.5 (2021-03-20) Perhaps memory fails, but was there not, once, a standard rule that detected non alpha characters in sender name? The domain/provider is not of interest for this question. Such as this item (not the actual sender name) * 1.0 FREEMAIL_FROM Sender