regex tweaks

Now looks for # anywhere in url.