[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: code completion
From: August =?iso-8859-1?Q?H=F6randl?= <august.hoerandl () gmx ! at>
Date: 2002-02-12 23:31:38
[Download RAW message or body]
Daniel K=F6bbing 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=F6randl
_( Y )_
()_~*~_() august.hoerandl@gmx.at
(_)-(_)
_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic