Fixed an issue with the author extraction code.

- Legacy-Id: 13288
This commit is contained in:
Henrik Levkowetz 2017-05-09 19:19:55 +00:00
parent cf7d5cb881
commit fb70e9a4ff

View file

@ -502,7 +502,7 @@ class Draft():
r" {6}(\w+\s?\(.+\))$",
]
dateformat = r"(((%(month)s|%(mabbr)s) \d+, |\d+ (%(month)s|%(mabbr)s),? |\d+/\d+/)\d\d\d\d|\d\d\d\d-\d\d-\d\d)$"
dateformat = r"(((%(month)s|%(mabbr)s) \d+, |\d+ (%(month)s|%(mabbr)s),? |\d+/\d+/)\d\d\d\d|\d\d\d\d-\d\d-\d\d)$" % aux
address_section = r"^ *([0-9]+\.)? *(Author|Editor)('s|s'|s|\(s\)) (Address|Addresses|Information)"