Files
react-native-svg/lib/extract/extractPolyPoints.js
2018-03-19 04:07:47 +02:00

7 lines
149 B
JavaScript

export default function(polyPoints) {
return polyPoints
.replace(/[^e]-/, " -")
.split(/(?:\s+|\s*,\s*)/g)
.join(" ");
}