Commit e09b503e authored by ynerant's avatar ynerant

Remove Des from title

parent 9c53d89a
Pipeline #4233 passed with stages
in 5 minutes and 23 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment