Closed quentin389 closed 11 years ago
Browser Mozilla/5.0 (Mac OS X) AppleWebKit/ (KHTML, like Gecko, Safari/) Arora/0.9
Mozilla/5.0 (Mac OS X) AppleWebKit/ (KHTML, like Gecko, Safari/) Arora/0.9
should match (same as in get_browser())
get_browser()
[Mozilla/5.0 (*Mac OS X*) AppleWebKit/* (KHTML, like Gecko, Safari/*) *Arora/0.9*] Parent=Arora 0.9 Platform="MacOSX" Win32=false
but instead it matches
[Mozilla/5.0 (*Mac OS X*) AppleWebKit/* (KHTML, like Gecko, Safari/*) *Arora/0.?*] Parent=Arora Generic Platform="MacOSX" Win32=false
because the order of regular expressions is diiferent than used by get_browser()
From what I can see, while this issue is a generic one, only Arora has this problem. This specific situation doesn't seem to be present in any other regular expressions.
Fixed
Browser
Mozilla/5.0 (Mac OS X) AppleWebKit/ (KHTML, like Gecko, Safari/) Arora/0.9
should match (same as in
get_browser()
)but instead it matches
because the order of regular expressions is diiferent than used by
get_browser()