var path1 = 'catalog/view/theme/default/image/flags/usa.png';
var path2 = '../catalog/view/theme/default/image/flags/usa.png';
var path3 = '/catalog/view/theme/default/image/flags/usa.png';
var path4 = '__catalog/view/theme/default/image/flags/usa.png';
var path5 = '@catalog/view/theme/default/image/flags/usa.png';
var path6 = '%catalog/view/theme/default/image/flags/usa.png';
var path7 = '?catalog/view/theme/default/image/flags/usa.png';
什么是正则表达式来确保和前缀 / 到一个 url 字符串的开头结果应该是 /catalog/view/theme/default/image/flags/usa.png