我在100 pages上有50个结果:
before(function () {
return insightFacade.addDataset("courses", content)
.then(function (result: InsightResponse) {
console.log("then");
})
.catch(function (err: InsightResponse) {
console.log("catch");
});
});
我想突出显示视图响应高于每50个视图的结果,以及超过5个视图的结果:
Duration: 5 minutes | **238 views
2 likes** | 0 dislikes
(可能使用正则表达式?)换行符是/ s / S和regex maths operations are difficult ......
到目前为止,我发现我可以通过以下方式突出显示Chrome控制台中的铬正则表达式结果:
... | **238 views
9 likes**
答案 0 :(得分:1)
这个怎么样?复制并粘贴到Chrome控制台
'grupo' => object(App\Model\Entity\Grupo) {
'nombre' => 'test',
'contrato' => 'test',
'eliminado' => (int) 0,
'fecha_creacion' => object(Cake\I18n\Time) {},
'usuario_creacion' => (int) 2,
'[new]' => true,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Grupos'
},
'descripcion' => 'test',
'año' => (int) 29837,
'contacto1' => 'lkjsdf',
'contacto2' => 'kjfsdf',
'usuario_creacion' => (int) 2,
'fecha_creacion' => '06/02/2017',
'eliminado' => (int) 0,
'created' => object(Cake\I18n\Time) {
'time' => '2017-02-06T05:26:21+00:00',
'timezone' => 'UTC',
'fixedNowTime' => false
},