Skip to content

Commit

Permalink
Fix _PROJECT_GUID tag values in Gedcom parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gthole committed May 5, 2021
1 parent 36d068f commit 1e2f4c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gedgo/gedcom_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GedcomParser(object):
line_re = re.compile(
'^(\d{1,2})' + # Level
'(?: @([A-Z\d]+)@)?' + # Pointer, optional
' _?([A-Z\d]{3,})' + # Tag
' _?([A-Z\d_]{3,})' + # Tag
'(?: (.+))?$' # Value, optional
)

Expand Down
1 change: 1 addition & 0 deletions gedgo/static/test/test.ged
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
2 VERS V9.0
1 DEST Test
1 DATE 21 JUN 2012
1 _PROJECT_GUID 54392856109823651098237651F
1 TITL Test Gedcom
1 FILE Test
1 GEDC
Expand Down

0 comments on commit 1e2f4c0

Please sign in to comment.