Remove Des from title
This commit is contained in:
parent
9c53d89ad3
commit
e09b503ee1
|
@ -22,6 +22,7 @@ def generate_side_identifier(title, authors, subtitle=None):
|
|||
title_normalized = title.upper()
|
||||
title_normalized = title_normalized.replace('’', '\'')
|
||||
title_normalized = re.sub(r'^DE ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^DES ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^LE ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^LA ', '', title_normalized)
|
||||
title_normalized = re.sub(r'^LES ', '', title_normalized)
|
||||
|
|
Loading…
Reference in New Issue