Subject: | Regex tweak |
The following regular expression in _test should have the 'o' flag
applied, since $ff never changes:
# Firefox version
if ($ua =~ m{
($ff)
\/
( [^.]* ) # Major version number is everything
before first dot
\. # The first dot
( [\d]* ) # Minor version nnumber is digits
after first dot
}x