git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
213346e
)
browser: match support percentage with multiple comment markers
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 3 Apr 2016 21:47:26 +0000
(23:47 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 22 Mar 2017 21:28:03 +0000
(22:28 +0100)
Encountered in recent data.
browser.plp
patch
|
blob
|
history
diff --git
a/browser.plp
b/browser.plp
index 782bea8628ddf3128fd58d2927f5fba28856db5b..eb7e0d0bf7dab0d01c0877dcad2db904aef01c14 100644
(file)
--- a/
browser.plp
+++ b/
browser.plp
@@
-272,7
+272,7
@@
sub featurescore {
while (my ($browser, $versions) = each %$row) {
ref $versions eq 'HASH' or next;
while (my ($version, $status) = each %$versions) {
- $status =~ s/\h\#\d+//;
+ $status =~ s/\h\#\d+//
g
;
$rank += ($canihas->{$browser}->{$version} || .001) * $PSTATS{$status};
}
}