Skip to content

Commit

Permalink
Merge pull request #1256 from HaoZeke/regressionRegex
Browse files Browse the repository at this point in the history
MAINT: Allow newlines in benchmark names
  • Loading branch information
mattip authored Apr 23, 2023
2 parents 48d5315 + ed97d2e commit 66e9c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asv/www/regressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ $(document).ready(function() {
return;
}

var benchmark_basename = benchmark_name.replace(/\(.*/, '');
var benchmark_basename = benchmark_name.replace(/\([\s\S]*/, '');
var benchmark = $.asv.master_json.benchmarks[benchmark_basename];
var url_params = {};

Expand Down

0 comments on commit 66e9c89

Please sign in to comment.