metadata: strip delimiting quotes in strings

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
Pedro Lamas 2022-09-22 14:16:32 +01:00 committed by Eric Callahan
parent df24e3ea77
commit 60b871adbe
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def _regex_find_int(pattern: str, data: str) -> Optional[int]:
def _regex_find_string(pattern: str, data: str) -> Optional[str]:
match = re.search(pattern, data)
if match:
return match.group(1)
return match.group(1).strip('"')
return None
# Slicer parsing implementations