regular expresson for Unix and Dos Lineendings wanted
Franz Steinhaeusler
franz.steinhaeusler at gmx.at
Fri Feb 24 03:44:31 EST 2006
On Thu, 23 Feb 2006 14:46:20 +0100, Franz Steinhaeusler
<franz.steinhaeusler at gmx.at> wrote:
>Hello, I need a regularexpression, which trims trailing whitespaces.
>
>While with unix line endings, it works;
>but not with Window (Dos) CRLF's:
Thank you all for the replies.
But I still don't have a solution.
Of course with more lines it is possible,
but it would be fine to have a "oneliner".
--
Franz Steinhaeusler
More information about the Python-list
mailing list