We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 158f501 commit 4946a3fCopy full SHA for 4946a3f
1 file changed
ietf/utils/draft.py
@@ -40,7 +40,7 @@
40
import sys
41
import time
42
43
-version = "0.28"
+version = "0.29"
44
program = os.path.basename(sys.argv[0])
45
progdir = os.path.dirname(sys.argv[0])
46
@@ -480,6 +480,11 @@ def dotexp(s):
480
# if there's a middle part, let it be optional
481
first, middle = first.split(" ", 1)
482
first = "%s( +%s)?" % (first, middle)
483
+
484
+ # Double names (e.g., Jean-Michel) are abbreviated as two letter
485
+ # connected by a dash -- let this expand appropriately
486
+ first = re.sub("^([A-Z])-([A-Z])\.\*", r"\1.*-\2.*", first)
487
488
# Some chinese names are shown with double-letter(latin) abbreviated given names, rather than
489
# a single-letter(latin) abbreviation:
490
first = re.sub("^([A-Z])[A-Z]+\.\*", r"\1[-\w]+", first)
0 commit comments