Skip to content

Commit

Permalink
Update parentheses regex to work with v flag
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Nov 2, 2024
1 parent 252cf42 commit 3f9c04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ You can replace filtered content similarly by entering a string into the "Subtit

Useful examples of regular expressions:

- `([((]([^()()]|(([((][^()()]+[))])))+[))])` : Remove names enclosed by parenthesis to indicate speakers (e.g. "**(山田)** 元気ですか?")
- `([\((]([^\(\)()]|(([\((][^\(\)()]+[\))])))+[\))])` : Remove names enclosed by parenthesis to indicate speakers (e.g. "**(山田)** 元気ですか?")
- `(.*)\n+(?!-)(.*)` : Some subtitles are split in several lines and this regex forces them into a single line. For this filter to work, you must also put `$1 $2` in the "Subtitle regex filter text replacement" field.
- **NB**: When using this regex pattern in combination with other patterns (using the `|` operator, see below), place this pattern at the end. This ensures that all other regex transformations are applied first, and then the results are finally combined into a single line.
- `-?\[.*\]` : Remove indications enclosed by square brackets that sound or music that is playing (e.g. "**\[PLAYFUL MUSIC]**" or "**\-[GASPS]**")
Expand Down

0 comments on commit 3f9c04e

Please sign in to comment.