fix regex parsing of values in svg path attribute