update image tag regexp
add unit test; save some vertical space
Merge pull request #12 from Runnable/from-fix-and-tests

update image tag regexp