Skip to content

Commit

Permalink
MAINT: Allow newlines in benchmark names
Browse files Browse the repository at this point in the history
Co-authored-by: Tanuj Khattar <[email protected]>
  • Loading branch information
HaoZeke and tanujkhattar committed Mar 20, 2023
1 parent c32158f commit ed97d2e
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 ed97d2e

Please sign in to comment.