mirror of
https://github.com/atom/atom.git
synced 2026-02-18 02:21:43 -05:00
OnigRegExp.getCaptureTree only returns capture tree (no capture text)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user