Merge pull request #499 from foux/refactor-dv

Refactor Dolby Vision regexp to make it less complex
pull/500/head
TRaSH 3 years ago committed by GitHub
commit f9cbbc4a5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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]
```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)

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

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

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

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

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

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

Loading…
Cancel
Save