Corrected url regex matching