On Wed, May 27, 2020 at 04:46:45PM +0000, Jeffrey Westgate wrote:
>On Wed, May 27, 2020 at 04:57:45PM +0000, Gretchen M Beck wrote:
>> We're trying to find the right combination to filter in the "List of
>> non-member addresses whose postings will be automatically discarded."
>> under Privacy Options, Sender Filters.  All we've been able to come
>> up with are individual domains.  When we try to block
>> guido.sardu...@spammer.phisher.it,   -- while we'd like to block all
>> of .it,  what we find is we can either do the individual address, or
>> the entire spammer.phisher.it domain.  What's the magic combination?
>> 
>> And the hints say use ^, we found * worked for us....   confusion
>> abounds
> 
> When checking regular expressions for the accept/block/reject lists
> (as well as other places), I highly recommend this website:
> 
> https://regex101.com
> 
> You can enter the expression you are thinking of using, then test what
> it matches (so you can be sure it matches what you want and not what
> you don't, and tweak it until it works).

Other useful regex resources include:

- "Regular Expression Pocket Reference for Perl, Ruby, PHP, Python, C,
  Java and .Net" (Tony Stubblebine, 2007, O'Reilly)
  
https://www.geos.ed.ac.uk/~bmg/software/Perl%20Books/RegExp_perl_python_java_etc.pdf

- https://www.regular-expressions.info/tutorial.html (Jan Goyvaerts).

- Goyvaerts also sells a tool called RegexBuddy that works like Regex101
  but is perhaps a bit more powerful.  Unfortanately, it is proprietary
  software and requires Windows (or Wine), but if you don't mind that
  then it is a good way to learn regexes.  https://www.regexbuddy.com

Good luck!

-- 
A: When it messes up the order in which people normally read text.
Q: When is top-posting a bad thing?

()  ASCII ribbon campaign. Please avoid HTML emails & proprietary
/\  file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to