Universal escaping in KConfigINI: Summary and patch

Andras Mantia amantia at kde.org
Fri Jun 8 11:28:36 BST 2007


Hi,

On Thursday 24 May 2007, Andreas Hartmetz wrote:
> Hello list,
>
> Here is the proposed patch to implement escaping in KConfigINI to
> make it safe to pass any QString as a group name, key or value.

Was this committed? I'm asking before I have strings 
like "\s([\d\S\w]+)\b" for values and I get the following runtime 
warnings:
quanta: WARNING: KConfigIni: In 
file /opt/kde4/share/apps/quanta/dtep/css/description.rc, line 35: 
Invalid escape sequence "\'d' '.
quanta: WARNING: KConfigIni: In 
file /opt/kde4/share/apps/quanta/dtep/css/description.rc, line 35: 
Invalid escape sequence "\'S' '.
quanta: WARNING: KConfigIni: In 
file /opt/kde4/share/apps/quanta/dtep/css/description.rc, line 35: 
Invalid escape sequence "\'w' '.
quanta: WARNING: KConfigIni: In 
file /opt/kde4/share/apps/quanta/dtep/css/description.rc, line 35: 
Invalid escape sequence "\'b' '.


Andras
-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070608/83fa6b4d/attachment.sig>


More information about the kde-core-devel mailing list