Commit 838fcecb authored by ynerant's avatar ynerant

Normalize after replacing UN

parent 8b097dc4
Pipeline #4223 passed with stages
in 4 minutes and 58 seconds
......@@ -26,6 +26,8 @@ def generate_side_identifier(title, authors, subtitle=None):
title_normalized = re.sub(r'^LA ', '', title_normalized)
title_normalized = re.sub(r'^LES ', '', title_normalized)
title_normalized = re.sub(r'^L\'', '', title_normalized)
title_normalized = re.sub(r'^UN ', '', title_normalized)
title_normalized = re.sub(r'^UNE ', '', title_normalized)
title_normalized = re.sub(r'^THE ', '', title_normalized)
title_normalized = re.sub(r'Œ', 'OE', title_normalized)
title_normalized = title_normalized.replace(' ', '')
......
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