Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTTP-BrowserDetect CPAN distribution.

Report information
The Basics
Id: 66896
Status: resolved
Priority: 0/
Queue: HTTP-BrowserDetect

People
Owner: Nobody in particular
Requestors: blue [...] yopmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
On Fri Mar 25 13:31:03 2011, blue wrote: Show quoted text
> 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
Thanks -- good call! Will be fixed in 1.24 Olaf