Make regex for images match WP core' s `media_sideload_image` regex