You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the browser version is not available in this case, so the expected output could just be BlackBerry. In this case the regex would instead be: (Black[bB]erry)
Is anybody able to confirm whether or not this is the intended behaviour? If somebody can confirm what the expected output should be I will attempt to create a PR with some tests.
I'm seeing lots user agent string like this, which seem to be valid:
Current Behaviour
This appears to be parsing the same number for browser version and device model (9670).
The string is matching rule: (Black[bB]erry)\s?(\d+)
Expected Behaviour
It seems that the browser version is not available in this case, so the expected output could just be
BlackBerry
. In this case the regex would instead be:(Black[bB]erry)
Is anybody able to confirm whether or not this is the intended behaviour? If somebody can confirm what the expected output should be I will attempt to create a PR with some tests.
Additional Information
Full parse result below:
Thanks!
The text was updated successfully, but these errors were encountered: