From 38a7562df8daadfee638ec34a1a0adc8f56899ce Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Tue, 20 Dec 2022 13:07:29 -0500 Subject: extraction --- emacsconf-subed.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacsconf-subed.el') diff --git a/emacsconf-subed.el b/emacsconf-subed.el index 250f707..0e35a61 100644 --- a/emacsconf-subed.el +++ b/emacsconf-subed.el @@ -164,7 +164,7 @@ TYPE can be 'end if you want the match end instead of the beginning." (when current (setq result (cons current result))) (setq current (list nil (elt o 1) (elt o 2) - (string-trim (replace-regexp-in-string "^NOTE[ \n]+" " " (elt o 4)))))) + (string-trim (replace-regexp-in-string "^NOTE[ \n]+\\|[ \n]+" " " (elt o 4)))))) ;; update the end time to include the current subtitle (when current (setf (elt current 2) (elt o 2))))) subtitles) -- cgit v1.2.3