OnigRegExp.getCaptureTree only returns capture tree (no capture text)

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-08-08 11:04:13 -06:00
parent e0516def80
commit fd295faa44
2 changed files with 3 additions and 11 deletions

View File

@@ -67,14 +67,7 @@ public:
}
}
if (currentIndex == 0) {
CefRefPtr<CefV8Value> tuple = CefV8Value::CreateArray();
tuple->SetValue(0, CefV8Value::CreateString([[result stringAt:0] UTF8String]));
tuple->SetValue(1, tree);
return tuple;
} else {
return tree;
}
return tree;
}
CefRefPtr<CefV8Value> CaptureCount() {