[Kst] branches/work/kst/portto4/kst/src/libkstmath
Adam Treat
treat at kde.org
Tue Feb 20 20:11:14 CET 2007
SVN commit 635731 by treat:
* search -> indexIn
M +1 -1 enodes.cpp
--- branches/work/kst/portto4/kst/src/libkstmath/enodes.cpp #635730:635731
@@ -780,7 +780,7 @@
} else if (strchr(name, '[')) {
_tagName = QString(name).trimmed();
QRegExp re("(.*)\\[(.*)\\]");
- int hit = re.search(_tagName);
+ int hit = re.indexIn(_tagName);
if (hit > -1 && re.numCaptures() == 2) {
_vector = *KST::vectorList.findTag(re.cap(1));
if (_vector) {
More information about the Kst
mailing list