Fix regex
This commit is contained in:
parent
3433d4a58e
commit
27bce2914b
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ class PlaylistUtils(private val client: OkHttpClient, private val headers: Heade
|
|||
}
|
||||
|
||||
companion object {
|
||||
private val FIX_SUBTITLE_REGEX = Regex("""${'$'}(\n{2,})(?!\d+:\d+(?:\.\d+)?\s-+>\s\d+:\d+(?:\.\d+)?)""", RegexOption.MULTILINE)
|
||||
private val FIX_SUBTITLE_REGEX = Regex("""${'$'}(\n{2,})(?!(?:\d+:)*\d+(?:\.\d+)?\s-+>\s(?:\d+:)*\d+(?:\.\d+)?)""", RegexOption.MULTILINE)
|
||||
|
||||
private const val PLAYLIST_SEPARATOR = "#EXT-X-STREAM-INF:"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue