mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-09 06:39:33 +00:00
Merge pull request #6621 from kellykelly3/7201-update-dump-remove-id
7201.1 - Fixed regular expression for id-ing TL other event descriptions
This commit is contained in:
commit
90ef2cc4b7
@ -638,7 +638,7 @@ def normalize_db_entry(line, files_table, vs_parts_table, vs_info_table, fs_info
|
|||||||
return line
|
return line
|
||||||
|
|
||||||
def cleanupEventDescription(description):
|
def cleanupEventDescription(description):
|
||||||
test = re.search("\D+:\d+", description)
|
test = re.search("^\D+:\d+$", description)
|
||||||
if test is not None:
|
if test is not None:
|
||||||
return re.sub(":\d+", ":<artifact_id>", description)
|
return re.sub(":\d+", ":<artifact_id>", description)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user