From b3f0258e041fe03b527576d5433d726d5c9d9be4 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Fri, 26 Nov 2021 18:52:34 +0100 Subject: "BD" is removed from "BD MANGA" and "BD COMICS" quotes this allows sorting to separate the entries by category (bd, manga, comics, etc.) --- local/bibli-paris/bibli-paris.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'local') diff --git a/local/bibli-paris/bibli-paris.el b/local/bibli-paris/bibli-paris.el index 6580bba..55483b5 100644 --- a/local/bibli-paris/bibli-paris.el +++ b/local/bibli-paris/bibli-paris.el @@ -182,10 +182,14 @@ date if borrowed and set to the maximum unix date if unavailable." (setq result (replace-regexp-in-string blank " " result)) (setq result (string-trim result blank blank)) (setq result (replace-regexp-in-string - "BD EN RESERVE" - "EN RESERVE BD" - result - t t)) + "BD EN RESERVE" "EN RESERVE BD" + result t t)) + (setq result (replace-regexp-in-string + "BD MANGA" "MANGA" + result t t)) + (setq result (replace-regexp-in-string + "BD COMICS" "COMICS" + result t t)) (setq result (replace-regexp-in-string "\\([^0-9/]\\)\\([0-9]\\)\\($\\|\/\\)" "\\10\\2\\3" -- cgit v1.2.3