1
0
Fork 0
mirror of synced 2024-06-16 17:35:15 +12:00

add sample input comment

This commit is contained in:
Nick Sweeting 2017-05-05 10:54:18 -04:00 committed by GitHub
parent 56fe146f90
commit 1508c6a37d

View file

@ -28,7 +28,7 @@ def check_dependencies():
def parse_pocket_export(html):
pattern = re.compile("^\\s*<li><a href=\"(.+)\" time_added=\"(\\d+)\" tags=\"(.*)\">(.+)</a></li>", re.UNICODE)
pattern = re.compile("^\\s*<li><a href=\"(.+)\" time_added=\"(\\d+)\" tags=\"(.*)\">(.+)</a></li>", re.UNICODE) # see sample input in ./example_ril_export.html
for line in html:
match = pattern.search(line)
if match: