All files\s*\|\s*([0-9.]+)
Created
June 13, 2018 12:58
-
-
Save Igor-Lopes/2a2f4aa018e5d3e3d49b2d08024c45e0 to your computer and use it in GitHub Desktop.
Regex for nyc code coverage in Gitlab CI
See https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/24782 . A slightly more inclusive one would be:
All files[^|]*\|[^|]*\s+([\d\.]+)
Here is an example of the regex working:
https://regex101.com/r/A2oIXf/4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works great, thanks