From 0872920d85fe882f0112587b6d1e04d510321fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20M=C3=BCller?= <9016208+Seros@users.noreply.github.com> Date: Sun, 20 Aug 2023 13:46:44 +0200 Subject: [PATCH] fix(sonarr): correct word boundary for versions regex (#1511) --- docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md | 6 +++--- docs/json/sonarr/rp/visorakAnimeTwo.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md index f491eeb4b..5ee0a66bc 100644 --- a/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md +++ b/docs/Sonarr/Sonarr-Release-Profile-RegEx-Anime.md @@ -512,7 +512,7 @@ Add this to your Preferred with a score of **[1]** Adds version due to anime groups sometimes fixing issues with their releases. ```bash -/\d(v2)\b/i +/\b(v2)\b/i ``` --- @@ -520,7 +520,7 @@ Adds version due to anime groups sometimes fixing issues with their releases. Add this to your Preferred with a score of **[2]** ```bash -/\d(v3)\b/i +/\b(v3)\b/i ``` --- @@ -528,7 +528,7 @@ Add this to your Preferred with a score of **[2]** Add this to your Preferred with a score of **[3]** ```bash -/\d(v4)\b/i +/\b(v4)\b/i ``` --- diff --git a/docs/json/sonarr/rp/visorakAnimeTwo.json b/docs/json/sonarr/rp/visorakAnimeTwo.json index f1b877d38..92139703d 100644 --- a/docs/json/sonarr/rp/visorakAnimeTwo.json +++ b/docs/json/sonarr/rp/visorakAnimeTwo.json @@ -135,20 +135,20 @@ { "score": 3, "terms": [ - "/\\d(v4)\\b/i" + "/\\b(v4)\\b/i" ] }, { "score": 2, "terms": [ - "/\\d(v3)\\b/i" + "/\\b(v3)\\b/i" ] }, { "score": 1, "terms": [ "/(10.?bit|hi10p)/i", - "/\\d(v2)\\b/i" + "/\\b(v2)\\b/i" ] }, {