We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ae261 commit 709de5dCopy full SHA for 709de5d
server.js
@@ -379,6 +379,18 @@ function serveTest(query, response)
379
html.push(result[capture] == null ? "<i>(null)</i>" : h(result[capture]));
380
html.push("<br/>");
381
}
382
+ if (result.groups) {
383
+ var captureNames = Object.keys(result.groups);
384
+ for (var namedCapture = 0; namedCapture < captureNames.length; namedCapture++)
385
+ {
386
+ var key = captureNames[namedCapture];
387
+ html.push("groups.");
388
+ html.push(key);
389
+ html.push(": ");
390
+ html.push(result.groups[key] == null ? "<i>(null)</i>" : h(result.groups[key]));
391
+ html.push("<br/>");
392
+ }
393
394
html.push("</td>\n");
395
396
html.push('\t\t\t<td>');
0 commit comments