kdebug

Aaron J. Seigo aseigo at kde.org
Thu Aug 2 14:17:15 BST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070802/11a676f6/attachment.sig>
-------------- next part --------------
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


More information about the kde-core-devel mailing list