upgrades
This commit is contained in:
@@ -817,7 +817,7 @@ impl SextbProvider {
|
||||
}
|
||||
}
|
||||
|
||||
let line_regex = Self::regex(r#"(?m)^(?P<key>Director|Label|Studio|Cast\(s\)|Genre\(s\)|Quality|Release Date|Runtimes|Added|Viewed|Description):\s*(?P<value>.+)$"#)?;
|
||||
let line_regex = Self::regex(r#"(?m)^\s*(?P<key>Director|Label|Studio|Cast\(s\)|Genre\(s\)|Quality|Release Date|Runtimes|Added|Viewed|Description):\s*(?P<value>.+)$"#)?;
|
||||
for captures in line_regex.captures_iter(markdown) {
|
||||
let key = captures.name("key").map(|value| value.as_str()).unwrap_or_default();
|
||||
let value = captures.name("value").map(|value| value.as_str()).unwrap_or_default().trim();
|
||||
|
||||
Reference in New Issue
Block a user