The cue text of a SubRip file, with the indexes and timings left alone.
Save the file as config/views/Subtitles.yml under your StylesPath, then:
[*.srt]
BasedOnStyles = Vale
View = Subtitles # SubRip subtitles: a cue is an index, a timing line, and one or more lines
# of text, separated by blank lines. Only the text is exposed.
#
# [*.srt]
# BasedOnStyles = Vale
# View = Subtitles
engine: textfsm
template: |
Value Index (\d+)
Value Timing (\d\d:\d\d:\d\d,\d\d\d --> \d\d:\d\d:\d\d,\d\d\d.*)
Value List Cue (.+)
Start
^${Index}$ -> Timing
Timing
^${Timing}$ -> Cue
Cue
^$ -> Record Start
^${Cue}
scopes:
- name: cue
expr: Cue