Improve URL regex matching

Closes #4
Bump version to 1.2.0