Regex failing for checksums fix.

The checksums are only 40 characters and regex is failing trying to match 64. Do we really need a regex here at all?