code completion
August Hörandl
august.hoerandl at gmx.at
Wed Feb 13 00:33:04 UTC 2002
Daniel Köbbing wrote:
>
> #if QT_VERSION < 300
> QRegExp rx(QString("[\\s:;,+-*/]") + prefix +
> "[a-zA-Z0-9_]+[\\s:;,+-*/]");
i think this is a better solution - it gives a lot more hits ;-)
QRegExp rx(QString("[^a-zA-Z0-9_]") + prefix +
"[a-zA-Z0-9_]+[^a-zA-Z0-9_]");
> #else
> QRegExp rx(QString("\\b") + prefix + "[a-zA-Z0-9_]+\\b");
> #endif
Gustl
--
(~._.~) August Hörandl
_( Y )_
()_~*~_() august.hoerandl at gmx.at
(_)-(_)
More information about the KDevelop-devel
mailing list