mpv2oboeru

mpv helpers to create flashcards from movies and TV shows
git clone anongit@rnpnr.xyz:mpv2oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 28b2c0516ec363ca9e5d9781c02a094322d0be61
Parent: b6dad0354da84de4a823736f8f5282775e663583
Author: Ren Tatsumoto
Date:   Wed, 26 Aug 2020 09:30:23 +0300

remove text in japanese brackets

Diffstat:
Msubs2srs.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subs2srs.lua b/subs2srs.lua @@ -94,7 +94,7 @@ local function remove_special_characters(str) end local function remove_text_in_brackets(str) - return str:gsub('%b[]','') + return str:gsub('%b[]',''):gsub('【.-】', '') end local function remove_text_in_parentheses(str)