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

List:       koffice
Subject:    Simple QRegExp question
From:       Enno Bartels <ebartels () nwn ! de>
Date:       2001-03-09 10:36:02
[Download RAW message or body]

Hi

I'am just working on a new version of the
applixword input filter.
But I have a problem.

Can someone tell me how I can convert
\"
to
"
I will  do that with QRegExp but it didn't worked
and the qt docs can't help me at that point.


If I convert
>
to
&gt;
I use
   textstr.replace (QRegExp (">"), "&gt;");


And so my solution for
\"
to
"
is that one:
          textstr.replace (QRegExp ("\\\""), "\"");
but it didn't does what I wanted.

What's right - what's wrong?

Thanks
Enno

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

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