2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 12:27:10 +00:00

Whitespace cleanup

This commit is contained in:
Sam Wenham
2020-02-21 14:26:14 +00:00
parent 978270b152
commit 92b273e45f
5 changed files with 32 additions and 35 deletions

View File

@@ -166,7 +166,7 @@ def Parseloghtmltxt(year, expedition, txt):
for trippara in tripparas:
#print(" - HR detected - maybe a trip?")
logbook_entry_count += 1
s = re.match(r'''(?x)(?:\s*<div\sclass="tripdate"\sid=".*?">.*?</div>\s*<p>)? # second date
\s*(?:<a\s+id="(.*?)"\s*/>\s*</a>)?
\s*<div\s+class="tripdate"\s*(?:id="(.*?)")?>(.*?)</div>(?:<p>)?