[Qt-interest] Problem with qregexpr

matteo matteo.ceruti at task84.it
Mon Oct 5 13:39:05 CEST 2009


Hi,
I have the string

--STRING

If I try to match whith QRegExp("--\\s*STRING") it runs, but if I try 
with  QRegExp("\\b(--\\s*STRING)\\b") it doesn't match.

Where is my mistake?

Thanks
Teo



More information about the Qt-interest-old mailing list