Files
react-native-svg/lib/extract/extractPolyPoints.js
2017-05-02 11:56:03 +08:00

5 lines
124 B
JavaScript

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