Number class.

git-svn-id: svn://10.0.0.236/trunk@132471 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2002-10-24 23:12:24 +00:00
parent e6437f1536
commit 09c78e6f8f
7 changed files with 90 additions and 39 deletions

View File

@@ -135,12 +135,12 @@ namespace MetaData {
if (argc > 0) {
int32 index = 0;
const String *str = meta->engine->meta->toString(argv[0]);
const String *str = meta->toString(argv[0]);
js2val globalMultiline = thisInst->getMultiline(meta);
if (thisInst->getGlobal(meta)) {
js2val lastIndex = thisInst->getLastIndex(meta);
index = meta->engine->meta->toInteger(lastIndex);
index = meta->toInteger(lastIndex);
}
REMatchState *match = REExecute(thisInst->mRegExp, str->begin(), index, toInt32(str->length()), meta->toBoolean(globalMultiline));