More intelligent ASS parsing, part 1