Fix problem with malformed URLs generated by the regexp replacement
Merge pull request #30 from olsonanl/hardy

Fix problem with malformed URLs generated by the regexp replacement