diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 18:52:34 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 18:52:34 +0100 |
| commit | b3f0258e041fe03b527576d5433d726d5c9d9be4 (patch) | |
| tree | 1ac5550daf59ff5025349f9b5e018d786ed610b0 /local | |
| parent | 015c1f131a00500fb48c9350cdd420a5dd56695c (diff) | |
"BD" is removed from "BD MANGA" and "BD COMICS" quotes
this allows sorting to separate the entries by category (bd, manga, comics, etc.)
Diffstat (limited to 'local')
| -rw-r--r-- | local/bibli-paris/bibli-paris.el | 12 |
1 files changed, 8 insertions, 4 deletions
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" |
