Skip to content

Commit

Permalink
[Truffle] Avoid an unnecessary regexp match capture.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Oct 27, 2016
1 parent dd72b6d commit 305f4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/truffle/post-process-results-json.rb
Expand Up @@ -16,7 +16,7 @@

result['queries'].each do |q|
q.delete_if do |k, v|
k =~ /^extra\.(\w|-)+\.commit\.(\w|-)+$/
k =~ /^extra\.[\w-]+\.commit\.[\w-]+$/
end
end

Expand Down

0 comments on commit 305f4d1

Please sign in to comment.