Make data:// matching regex more generic