Skip to content

Commit 770f79e

Browse files
committed
Added 'Dr.-Ing.' to the recognised honorifics in the author extraction code.
- Legacy-Id: 8508
1 parent 46cb5cb commit 770f79e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/utils/draft.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import sys
4141
import time
4242

43-
version = "0.34"
43+
version = "0.35"
4444
program = os.path.basename(sys.argv[0])
4545
progdir = os.path.dirname(sys.argv[0])
4646

@@ -461,7 +461,7 @@ def extract_authors(self):
461461
462462
"""
463463
aux = {
464-
"honor" : r"(?:[A-Z]\.|Dr\.?|Prof(?:\.?|essor)|Sir|Lady|Dame|Sri)",
464+
"honor" : r"(?:[A-Z]\.|Dr\.?|Dr.-Ing.|Prof(?:\.?|essor)|Sir|Lady|Dame|Sri)",
465465
"prefix": r"([Dd]e|Hadi|van|van de|van der|Ver|von|[Ee]l)",
466466
"suffix": r"(jr.?|Jr.?|II|2nd|III|3rd|IV|4th)",
467467
"first" : r"([A-Z][-A-Za-z]*)(( ?\([A-Z][-A-Za-z]*\))?(\.?[- ]{1,2}[A-Za-z]+)*)",

0 commit comments

Comments
 (0)