gontham
4th June 2010, 00:42
Hello,
I am trying to match a string within {STRING}.
i tried using the following code:
QRegExp exp("\{.*\}");
and i even tried it for a specific word that i know exists, like:
QRegExp exp("\{file\}");
and i also tried:
QRegExp exp("\\{file\\}");
non of these worked, any ideas on how to do this ?
I am trying to match a string within {STRING}.
i tried using the following code:
QRegExp exp("\{.*\}");
and i even tried it for a specific word that i know exists, like:
QRegExp exp("\{file\}");
and i also tried:
QRegExp exp("\\{file\\}");
non of these worked, any ideas on how to do this ?