Bug introduced by !24 which kept trailing `\n` and fed it to filters. Thus regexes ending with `$` couldn't match anymore. Fixes #128