improved regular expression
handle absolute src/href paths
update of tests to verify absolute path support from @jrnewell
Merge branch 'jrnewell-regex-fix'
up of minor version.