branch: elpa/subed
commit 63f0ef5b8d78e72e0b1f1e0e7ba941af9550c505
Author: Random User <rnd...@posteo.de>
Commit: Random User <rnd...@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