SVN commit 650880 by savernik: I said support libpcre without utf8-support. M +4 -1 regexp.cpp M +2 -0 regexp.h --- branches/KDE/3.5/kdelibs/kjs/regexp.cpp #650879:650880 @@ -318,6 +318,7 @@ int startPos; int nextPos; +#ifdef PCRE_CONFIG_UTF8 if (utf8Support == Supported) { startPos = i; while (originalPos[startPos] < i) @@ -326,7 +327,9 @@ nextPos = startPos; while (originalPos[nextPos] < (i + 1)) ++nextPos; - } else { + } else +#endif + { startPos = i; nextPos = i + 1; } --- branches/KDE/3.5/kdelibs/kjs/regexp.h #650879:650880 @@ -83,8 +83,10 @@ Unsupported }; +#ifdef PCRE_CONFIG_UTF8 static UTF8SupportState utf8Support; #endif +#endif unsigned int nrSubPatterns; RegExp();