LibreCat/Catmandu — pull request #26 by pietsch (2013-08-07 08:31:07+00:00)
Title: New trim for all

I believe trim should also remove vertical whitespace such as the vertical tab our users sometimes copy & paste from their PDF documents. As it turns out, \s matches vertical space in Perl 5.18 experimentally. My patch makes this behaviour available for all versions of Perl by matching [\h\v] instead of \s. Test adjusted accordingly.