Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
SRT parser sans validation.
let srtParser = Many(srtGroupParser, separator: Newline().skip(Newline())) // `separator` mirrors
// the blank line handling in `srtGroupParser`, while tucking away the explicit `\n` and `\r\n`
// logic —
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment