adding regexp matching for urls