From f72a90052c82a65038875833873097156096a797 Mon Sep 17 00:00:00 2001 From: KanchiMoe Date: Fri, 30 Aug 2024 02:40:10 +0100 Subject: [PATCH] expand missing persons phone numbers --- README.md | 9 +++++++++ .../missingpersons/antidox_email.yaml | 4 ++-- .../missingpersons/antidox_phone.yaml | 17 +++++++++++++---- 3 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ef6e22 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# Reddit AutoModerator rules + +This is a repo containing rules for Reddit's AutoModerator that I have set up and use on subreddits I moderate. Grouped between general rules, rules specificly targeting spam, and rules used on specific subreddits. + +You are free to use and modify any of the rules in this repo for your own subreddits. + +# Need help? + +If you need help with any of the rules in this repo, [raise an issue](https://github.com/KanchiMoe/Reddit-AutoModerator-rules/issues/new/choose) or send a modmail to any of the subreddits in the `subreddit_specific/` folder. diff --git a/subreddit_specific/missingpersons/antidox_email.yaml b/subreddit_specific/missingpersons/antidox_email.yaml index 993341a..96ac88c 100644 --- a/subreddit_specific/missingpersons/antidox_email.yaml +++ b/subreddit_specific/missingpersons/antidox_email.yaml @@ -1,7 +1,7 @@ --- # Anti-dox rules on email addresses, allowing police addresses -# src: https://github.com/KanchiMoe/Reddit-AutoModerator-rules/blob/master/Subreddit_specific/MissingPersons/antidox_email.yaml -# Last updated: 2024-08-26 +# src: https://raw.githubusercontent.com/KanchiMoe/Reddit-AutoModerator-rules/master/subreddit_specific/missingpersons/antidox_email.yaml +# Last updated: 2024-08-30 title+body (regex): ['(?!(abuse|help|info|no-?reply|phishing|service|spoof|support)\@)[\w!#$%&\x27*+\-./=?\^\x60{|}~]+\@([\w-]{1,64}\.)+([a-z]{2,16}|xn--[a-z0-9-]{1,60})'] ~title+body: ["@south-wales.police.uk", "missing@police.portlandoregon.gov", "wayne.manthe@cityofwinder.com"] ~author: ["Example"] diff --git a/subreddit_specific/missingpersons/antidox_phone.yaml b/subreddit_specific/missingpersons/antidox_phone.yaml index 757d1cd..542a1ba 100644 --- a/subreddit_specific/missingpersons/antidox_phone.yaml +++ b/subreddit_specific/missingpersons/antidox_phone.yaml @@ -1,10 +1,10 @@ --- # Anti-dox rules on phone numbers, allowing police/official numbers. -# src: https://github.com/KanchiMoe/Reddit-AutoModerator-rules/blob/master/Subreddit_specific/MissingPersons/antidox_phone.yaml -# Last updated: 2024-08-26 +# src: https://raw.githubusercontent.com/KanchiMoe/Reddit-AutoModerator-rules/master/subreddit_specific/missingpersons/antidox_phone.yaml +# Last updated: 2024-08-30 title+body (regex, includes): ['(?#INT)(\+(?![\s\(]*\d{4})|\b011)[\(\) ._-]{0,3}(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)\b([\(\) ._-]{0,3}\d){5,14}\b', '(?#NA)\(?\b1?\d{3}[\) ._-]{1,3}\d{3}[ ._-]{1,3}\d{4}\b', '(?#UK)\b(?