Description
From Coruja:
Thoughts on providing some sane defaults for the subtitle regex filter ? I was thinking something like ^-?[.+]$|^[♪♬#~〜]+$ where the first half ^-?[.+]$ captures descriptive lines between braces eg
[THUNDER RUMBLING]
-[GASPS]and the 2nd half ^[♪♬#~〜]+$ removes general misc symbols used as music etc
From ZyphDoz:
apparently, js regex needs to use [一-龯ぁ-ゟ゠-ヿ] instead of [\p{Han}\p{Hiragana}\p{Katakana}].
I always thought regex syntax looked awful but this is getting to a point where I almost can't tell the difference between this (?<![一-龯ぁ-ゟ゠-ヿ])(|((?![^一-龯ぁ-ゟ゠-ヿ]))[^))](?:)|)) and this https://esolangs.org/wiki/Brainfuck 😆
if this thing actually works as intended it could be good preset if you're going to add presets. (it should remove parenthesis and everything inside them except when the parenthesis is for the reading of a kanji (it currently looks like it's working but the whole thing is crafted by chatgpt so you never know))
From russgrav:
Another quick question, but I've been using \
([^\)])|([^)]) to get rid of parenthesis but I'd like to also use \n if possible, which removes all newlines so that each line is all in one -- is there a way to combine both of these regex conditions?