emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/subed 63f0ef5 040/389: In general, subtitle separator must


From: ELPA Syncer
Subject: [nongnu] elpa/subed 63f0ef5 040/389: In general, subtitle separator must be two or more newlines
Date: Fri, 3 Dec 2021 10:59:53 -0500 (EST)

branch: elpa/subed
commit 63f0ef5b8d78e72e0b1f1e0e7ba941af9550c505
Author: Random User <rndusr@posteo.de>
Commit: Random User <rndusr@posteo.de>

    In general, subtitle separator must be two or more newlines
---
 subed/subed-srt.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subed/subed-srt.el b/subed/subed-srt.el
index aeb79e1..b5a812c 100644
--- a/subed/subed-srt.el
+++ b/subed/subed-srt.el
@@ -37,7 +37,7 @@
 (defconst subed-srt--regexp-timestamp 
"\\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\),\\([0-9]+\\)")
 (defconst subed-srt--regexp-duration (concat subed-srt--regexp-timestamp "[ 
]+\\(-->\\)[ ]+"
                                              subed-srt--regexp-timestamp))
-(defconst subed-srt--regexp-separator "\\([[:blank:]]*\n\\)*[[:blank:]]*\n")
+(defconst subed-srt--regexp-separator "\\([[:blank:]]*\n\\)+[[:blank:]]*\n")
 (defconst subed-srt--length-timestamp 12)  ;; String length of "01:45:32,091"
 
 (defun subed-srt--timestamp-to-msecs (time-string)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]