[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kdebug
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2007-08-02 13:17:15
Message-ID: 200708020717.19026.aseigo () kde ! org
[Download RAW message or body]


On Thursday 02 August 2007, Thomas Zander wrote:
> while(s/(kDebug\s*\(.*)((\\n|\s+)\")/$1"/s) {}

personally i changed this line to:

while(s/(kDebug\s*\(.*)((\\n|\s+)\" \" <<)/$1/s) {}

so that it only catches '" " <<' ... may not work great if you aren't 
consistent in your whitespace usage, but ... worked for me =) has the benefit 
of not turning 'kDebug() << "foo"' into 'kDebug() <<"foo"'

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic