summaryrefslogtreecommitdiffstats
path: root/kjs/regexp_object.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kjs/regexp_object.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjs/regexp_object.cpp')
-rw-r--r--kjs/regexp_object.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kjs/regexp_object.cpp b/kjs/regexp_object.cpp
index 4b8064644..edd2bbeca 100644
--- a/kjs/regexp_object.cpp
+++ b/kjs/regexp_object.cpp
@@ -234,7 +234,7 @@ int **RegExpObjectImp::registerRegexp( const RegExp* re, const UString& s )
Object RegExpObjectImp::arrayOfMatches(ExecState *exec, const UString &result) const
{
List list;
- // The returned array tqcontains 'result' as first item, followed by the list of matches
+ // The returned array contains 'result' as first item, followed by the list of matches
list.append(String(result));
if ( lastOvector )
for ( unsigned int i = 1 ; i < lastNrSubPatterns + 1 ; ++i )
@@ -292,7 +292,7 @@ RegExp* RegExpObjectImp::makeEngine(ExecState *exec, const UString &p, const Val
// Check for validity of flags
for (int pos = 0; pos < flags.size(); ++pos) {
- switch (flags[pos].tqunicode()) {
+ switch (flags[pos].unicode()) {
case 'g':
case 'i':
case 'm':
@@ -306,9 +306,9 @@ RegExp* RegExpObjectImp::makeEngine(ExecState *exec, const UString &p, const Val
}
}
- bool global = (flags.tqfind("g") >= 0);
- bool ignoreCase = (flags.tqfind("i") >= 0);
- bool multiline = (flags.tqfind("m") >= 0);
+ bool global = (flags.find("g") >= 0);
+ bool ignoreCase = (flags.find("i") >= 0);
+ bool multiline = (flags.find("m") >= 0);
int reflags = RegExp::None;
if (global)