Wrote the currentURL function for regexification. Next I need to test
that it works!