diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kate/tests/test.js | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-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 'kate/tests/test.js')
-rw-r--r-- | kate/tests/test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/tests/test.js b/kate/tests/test.js index b268c9149..2dfe86c5b 100644 --- a/kate/tests/test.js +++ b/kate/tests/test.js @@ -15,7 +15,7 @@ */ // test if regex support works - nice with new fallthrough prop in context:) -somestring.tqreplace( /dooh/ , "bah!"); +somestring.replace( /dooh/ , "bah!"); re=/foo/ig; // hehe somestring.search( @@ -60,14 +60,14 @@ re = /*/foo/*/ /bar/; /* Some tests if the fallthrough works. The fallthrough happens if a regexp is not found in a possible (!) position, - which is after "search(" or "tqreplace(" or "=" or "?" or ":" in version 0.1 of the xml file + which is after "search(" or "replace(" or "=" or "?" or ":" in version 0.1 of the xml file */ var foo = 'bar'; // ^ fallthrough! -somestring.tqreplace( new RegExp("\\b\\w+\\b"), "word: $1"); +somestring.replace( new RegExp("\\b\\w+\\b"), "word: $1"); // ^ fallthrough expected. ("new" whould be bold) |