Franz Steinhaeusler wrote: > On Thu, 23 Feb 2006 14:46:20 +0100, Franz Steinhaeusler > <[EMAIL PROTECTED]> 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". >
Then I clearly don't understand your problem... it seems we gave you several ways of skinning your cat... but none of them 'worked'? I find that hard to believe... perhaps you can re-state you problem or show us your more than one line solution...(so that we might learn from it) Martin -- http://mail.python.org/mailman/listinfo/python-list