update regex for url matching