tweaked <trailer> and <pdf-tail> regexs