The regex is incorrect to match the GPU info
It should be: ^.* 0300: (.*)(\( rev .*\))?$
to match the cases where there is no revision number.
Like: 01:00.0 0300: 1002:68b8
ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-report 1.0.11 ProcVersionSignature: Ubuntu 4.15.0-15.16-generic 4.15.15 Uname: Linux 4.15.0-15-generic x86_64 ApportVersion: 2.20.9-0ubuntu5 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Fri Apr 20 09:08:21 2018 Dependencies: gcc-8-base 8-20180414-1ubuntu2 libc6 2.27-3ubuntu1 libgcc1 1:8-20180414-1ubuntu2 InstallationDate: Installed on 2014-07-15 (1374 days ago) InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520) SourcePackage: ubuntu-report UpgradeStatus: Upgraded to bionic on 2018-03-24 (26 days ago)
The regex is incorrect to match the GPU info
It should be:
^.* 0300: (.*)(\( rev .*\))?$
to match the cases where there is no revision number.
Like: 01:00.0 0300: 1002:68b8
ProblemType: Bug ature: Ubuntu 4.15.0- 15.16-generic 4.15.15 1ubuntu2
DistroRelease: Ubuntu 18.04
Package: ubuntu-report 1.0.11
ProcVersionSign
Uname: Linux 4.15.0-15-generic x86_64
ApportVersion: 2.20.9-0ubuntu5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 20 09:08:21 2018
Dependencies:
gcc-8-base 8-20180414-1ubuntu2
libc6 2.27-3ubuntu1
libgcc1 1:8-20180414-
InstallationDate: Installed on 2014-07-15 (1374 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
SourcePackage: ubuntu-report
UpgradeStatus: Upgraded to bionic on 2018-03-24 (26 days ago)