Skip to content

Commit 935f25d

Browse files
committed
remove superfluous inner parentheses in regex
1 parent 88d76c7 commit 935f25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extract.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function extractCargoResult(config: Config, output: string): BenchmarkResult[] {
4343
const lines = output.split(/\r?\n/g);
4444
const ret = [];
4545

46-
const reExtract = /^test (.+)\s+\.\.\. bench:\s+([0-9,.]+) ([0-9A-Za-z_\u03BC]+\/\w+)( \(\+\/- ([0-9,.]+)\))?$/;
46+
const reExtract = /^test (.+)\s+\.\.\. bench:\s+([0-9,.]+) ([0-9A-Za-z_\u03BC]+\/\w+)( \(\+\/- [0-9,.]+\))?$/;
4747
const reComma = /,/g;
4848

4949
for (const line of lines) {

0 commit comments

Comments
 (0)