[Qt-interest] about QRegExp

tang ke tangk at lemote.com
Mon Nov 22 04:37:22 CET 2010


I have a string about %%FOOTBALL{XXXXX} YYYYY,and I want to replace this
to \football{XXXX}{YYYY}

but when I use the QRegExp string "%%FOOTBALL{\(.*\)}\(.*\)" to
"\\football{\\1}{\\2}"

but It's fail.

can you help me?

thanks in advance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tangk.vcf
Type: text/x-vcard
Size: 487 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101122/0e1c9af5/attachment.vcf 


More information about the Qt-interest-old mailing list