If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Regular Expression fixed
- The __version__ string must be at the beginning of a line. Nowhere else. The \s* at the beginning is simply wrong.
relevant lines covered
hits per line