Universal escaping in KConfigINI: Summary and patch

Andreas Pakulat apaku at gmx.de
Fri Jun 8 11:40:02 BST 2007


On 08.06.07 13:28:36, Andras Mantia wrote:
> 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' '.

Yes it was and I see similar warning when starting KDevelop. I didn't
yet have time to look into this and seemingly no other KDevelop hacker
did...

Andreas

-- 
You'll never be the man your mother was!




More information about the kde-core-devel mailing list