cdown/srt

Use state machine to parse SRT blocks

Closed this issue · 0 comments

cdown commented

Many SRTs are just plain broken, working around this brokenness is easier with a state machine than a regex (for example, checking if after \n\n we have a potential index).