Group browser(?P<browser>Android) Androidthe literal text Android (case sensitive) \sany whitespace character
Group major_version(?P<major_version>\d+) \d+a digit, repeated at least once
\.the literal . (4610 / 568 / 2E16)
Group minor_version(?P<minor_version>\d+\.?\d?) \d+a digit, repeated at least once
\.?optionally matches the literal . (4610 / 568 / 2E16)
\d?optionally matches a digit
;the literal ; (5910 / 738 / 3B16)
Group lang(?P<lang>\spt-br){0,1} {0,1}repeats the group contents below at most once:
\sany whitespace character
pt-brthe literal text pt-br (case sensitive) ;{0,1}optionally matches the literal ; (5910 / 738 / 3B16)
Group device(?P<device>[ \w\-?]+) +matches at least one character from the set below:
the literal (3210 / 408 / 2016)
\wany word character
\-the literal - (4510 / 558 / 2D16)
?the literal ? (6310 / 778 / 3F16)
\sany whitespace character
g modifier: global. Finds all matches instead of stopping after the first