From 8f408681c00f62af9e192a15669b462ecadbd632 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:25:13 -0500 Subject: [PATCH 1/3] Refactor and Cleanup some regex (Anime) --- docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md index a04b2007f..4e8829ec9 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md @@ -261,7 +261,7 @@ Add this to your Preferred with a score of **[100]** We are adding this as **100** so that any unknown `Blu-Ray` can jump tiers inside the Subs categories but not interfere with any tiers above. ```bash -/\b(?:(BluRay|Blu-Ray|BDMux|BD(?!$))|(BDRip)|(BRRip))(?:\b|$|[ .])/ix +/\b(?:(Blu-?Ray|BDMux|BD(?!$))|(B[DR]Rip))(?:\b|$|[ .])/ix ``` --- @@ -269,7 +269,7 @@ Add this to your Preferred with a score of **[100]** Add this to your Preferred with a score of **[15]** ```bash -/\b(WEB[-_. ]DL|WEBDL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s\/\sWEB\s\/\s\b))/ix +/\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s/\sWEB\s/\s\b))/ix ``` --- @@ -277,7 +277,7 @@ Add this to your Preferred with a score of **[15]** Add this to your Preferred with a score of **[10]** ```bash -/(WebRip|Web-Rip|WEBMux)/ix +/(Web-?Rip|WEBMux)/ix ``` --- From dcc47c61a2c4db8a7df5d8e2326814df503cabea Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:28:05 -0500 Subject: [PATCH 2/3] fixup dropped slashes --- docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md index 4e8829ec9..b80d9566c 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md @@ -269,7 +269,7 @@ Add this to your Preferred with a score of **[100]** Add this to your Preferred with a score of **[15]** ```bash -/\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s/\sWEB\s/\s\b))/ix +/\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s/\\sWEB\s/\\s\b))/ix ``` --- From c5ffb9dd78a211438e4d7349e8a910eb50af8638 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Mon, 30 Aug 2021 17:30:22 -0500 Subject: [PATCH 3/3] fixup the fixup of the slashes --- docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md index b80d9566c..5ffb69149 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md @@ -269,7 +269,7 @@ Add this to your Preferred with a score of **[100]** Add this to your Preferred with a score of **[15]** ```bash -/\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s/\\sWEB\s/\\s\b))/ix +/\b(WEB[-_. ]?DL|WebHD|[. ]WEB[. ](?:[xh]26[45]|DDP?5[. ]1)|[. ](?-i:WEB)$|\d+0p(?:WEB-DLMux|\b\s\/\sWEB\s\/\s\b))/ix ``` ---