fix an error in the regex urlRegEx

This error fixes a precedence error in the regex. The old version did not account for the weak binding of |