evgenM
12th May 2006, 12:47
i have
if ( text.endsWith("}") || text.endsWith("};") )
and i want to replace it by
if ( text.indexOf(QRegExp("};?$")) != -1 )
but is not same thing - why?
How make right regExp?
if ( text.endsWith("}") || text.endsWith("};") )
and i want to replace it by
if ( text.indexOf(QRegExp("};?$")) != -1 )
but is not same thing - why?
How make right regExp?