Previous test would, for GCC version report version 10.x.x as 0.x.x, which would then fail the version checks. This change to the regex can now match versions of the form xx.x.x and x.x.x, so that 10.x.x can be correctly identified. The version is also printed as confirmation of this.
Previous test would, for GCC version report version 10.x.x as 0.x.x, which would then fail the version checks. This change to the regex can now match versions of the form xx.x.x and x.x.x, so that 10.x.x can be correctly identified. The version is also printed as confirmation of this.