mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fixed regular expression for id-ing TL other event descriptions
This commit is contained in:
parent
267121aa40
commit
dbf275a792
@ -638,7 +638,7 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info
|
||||
return line
|
||||
|
||||
def cleanupEventDescription(description):
|
||||
test = re.search("\D+:\d+", description)
|
||||
test = re.search("^\D+:\d+$", description)
|
||||
if test is not None:
|
||||
return re.sub(":\d+", ":<artifact_id>", description)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user