metadata: strip delimiting quotes in strings
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
parent
df24e3ea77
commit
60b871adbe
|
@ -91,7 +91,7 @@ def _regex_find_int(pattern: str, data: str) -> Optional[int]:
|
||||||
def _regex_find_string(pattern: str, data: str) -> Optional[str]:
|
def _regex_find_string(pattern: str, data: str) -> Optional[str]:
|
||||||
match = re.search(pattern, data)
|
match = re.search(pattern, data)
|
||||||
if match:
|
if match:
|
||||||
return match.group(1)
|
return match.group(1).strip('"')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Slicer parsing implementations
|
# Slicer parsing implementations
|
||||||
|
|
Loading…
Reference in New Issue