Escape-Sequences markup
Brought to you by:
luispereira,
momesana
Hi,
at first I have to say it is a brilliant smart program.
But their is a little Bug on the markup for Extra->Escape-Sequences.
The Caret-Symbol ^ have to be escaped too, i don't know why the $ haven't to be escaped,
but I tried it, and it looks like you have to escape the Caret ^
So far, good work!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
hmm sorry I am actually not pretty sure,
maybe I have done a fail too
[code]
foreach(QString part , params){
qDebug("---------");
qDebug("part: = \"%s\"",qPrintable(part));
QRegExp singleParamRegBegin("\\^[\\s]*(\\w)+");
if(singleParamRegBegin.indexIn(part)){
qDebug("Maintype of Param: \"%s\",
qPrintable(singleParamRegBegin.cap(1)));
}
qDebug("---------");
}
[/code]
I get on the Console:
---------
part: = "QHash <QHash<QString,QString> , ClassImpl*>*** classma2"
Maintype of Param: ""
---------
If I replace the Regex singleParamRegBegin ("\\^[\\s]*(\\w)+"); with ("^[\\s]*(\\w)+");
I just get
---------
part: = "QHash <QHash<QString,QString> , ClassImpl*>*** classma2"
---------
Any Idea?