mpv/DOCS
wm4 a4eb8f75c0 sub: add an option to filter subtitles by regex
Works as ad-filter. I had some more plans, for example replacing
matching text with different text, but for now it's dropping matches
only. There's a big warning in the manpage that I might change
semantics. For example, I might turn it into a primitive sed.

In a sane world, you'd probably write a simple script that processes
downloaded subtitles before giving them to mpv, and avoid all this
complexity. But we don't live in a sane world, and the sooner you learn
this, the happier you will be. (But I also want to run this on muxed
subtitles.)

This is pretty straightforward. We use POSIX regexes, which are readily
available without additional pain or dependencies. This also means it's
(apparently) not available on win32 (MinGW). The regex list is because I
hate big monolithic regexes, and this makes it slightly better.

Very superficially tested.
2020-02-16 02:07:24 +01:00
..
man sub: add an option to filter subtitles by regex 2020-02-16 02:07:24 +01:00
client-api-changes.rst Release 0.31.0 2019-12-28 12:07:07 +01:00
compatibility.rst
compile-windows.md DOCS: mention that mpv doesn't build with MSVC 2019-12-14 16:05:54 +01:00
contribute.md DOCS/contribute.md: fix a typo 2019-12-15 16:33:58 +01:00
edl-mpv.rst edl: add mechanism for delay loading streams 2020-02-15 18:29:44 +01:00
encoding.rst DOCS/encoding.rst: remove deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
interface-changes.rst DOCS/interface-changes.rst: mention it's for incompatible changes 2020-02-08 14:44:53 +01:00
mplayer-changes.rst mac: remove Apple Remote support 2019-12-15 20:07:31 +01:00
release-policy.md DOCS/release-policy.md: clarify a few details 2019-10-27 14:06:16 +01:00
tech-overview.txt DOCS/tech-overview.txt: some more blabla 2019-12-28 10:09:28 +01:00
waf-buildsystem.rst