Skip to content

Commit 1bf4356

Browse files
committed
Improved regex for the Dr.-Ing. honorific fix.
- Legacy-Id: 8509
1 parent 770f79e commit 1bf4356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/utils/draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def extract_authors(self):
461461
462462
"""
463463
aux = {
464-
"honor" : r"(?:[A-Z]\.|Dr\.?|Dr.-Ing.|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)