Skip to content

Commit f0317b3

Browse files
committed
Added another surname particle.
- Legacy-Id: 13823
1 parent eceed74 commit f0317b3

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\.?|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|in 't|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)