Skip to content

Commit 7e68623

Browse files
committed
Additional tweaks to the surname particle handling.
- Legacy-Id: 13670
1 parent f1f32b4 commit 7e68623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/person/name.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def name_parts(name):
3636
full = full.lower() # adjust case for all-uppercase input
3737
# This is an incomplete list. Adjust as needed to handle known ietf
3838
# participant names correctly:
39-
particle = re.search(r" (af|al|Al|de|der|di|Di|du|el|El|Hadi|Le|st\.?|ten|ter|van|van der|Van|von|von der|Von|zu) ", full)
39+
particle = re.search(r" (af|al|Al|de|der|di|Di|du|el|El|Hadi|Le|st\.?|St\.?|ten|ter|van|van der|Van|von|von der|Von|zu) ", full)
4040
if particle:
4141
pos = particle.start()
4242
parts = full[:pos].split() + [full[pos+1:]]

0 commit comments

Comments
 (0)