Custom coverage regexp is not working

Replace this template with your information

custom coverage regexp for OpenCppCoverage is not working:

  • i am using OpenCppCoverage for my project’s unit test. and i made a some script for extract coverage value from html report file. and add custom coverage regexp to gitlab-ci.yml
  coverage: '/Cover \d+(\.\d+)?%/' 

and actual output of pipeline was

$ $coverageReport = Get-Content ".\coverage_report\index.html"
$ $coverage = [regex]::Match($coverageReport, "Cover (\d+)%").Groups[0].Value
$ echo $coverage
Cover 100%

but gitlab doesn’t read this console output

how to make this work??