Refactor Dolby Vision regexp to make it less complex

pull/499/head
François-Xavier Payet 2 years ago
parent 114dbd6f3c
commit 340927e7a7

@ -371,7 +371,7 @@ Add this to your `Preferred (3)` with a score of [10]
Add this to your `Preferred (3)` with a score of [100] Add this to your `Preferred (3)` with a score of [100]
```bash ```bash
/\b(dv|dovi|dolby[ .]vision|dolbyvision)\b/i /\b(dv|dovi|dolby[ .]?vision)\b/i
``` ```
#### Optional (use these only if you dislike renamed and retagged releases) #### Optional (use these only if you dislike renamed and retagged releases)

@ -28,7 +28,7 @@
"negate": false, "negate": false,
"required": false, "required": false,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision|DV[ .]HDR10|DV[ .]HLG|DV[ .]SDR)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision|DV[ .]HDR10|DV[ .]HLG|DV[ .]SDR)\\b"
} }
}, },
{ {

@ -10,7 +10,7 @@
"negate": false, "negate": false,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

@ -10,7 +10,7 @@
"negate": false, "negate": false,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

@ -28,7 +28,7 @@
"negate": true, "negate": true,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

@ -19,7 +19,7 @@
"negate": true, "negate": true,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

@ -19,7 +19,7 @@
"negate": true, "negate": true,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

@ -19,7 +19,7 @@
"negate": true, "negate": true,
"required": true, "required": true,
"fields": { "fields": {
"value": "\\b(dv|dovi|dolby[ .]vision|dolbyvision)\\b" "value": "\\b(dv|dovi|dolby[ .]?vision)\\b"
} }
}, },
{ {

Loading…
Cancel
Save