mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-27 04:32:57 +00:00
Fix polypoints RegExp
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
export default function (polyPoints) {
|
||||
return polyPoints.replace(/-/, ' -').split(/(?:\s+|\s*,)\s*/g).join(' ');
|
||||
return polyPoints.replace(/-/, ' -').split(/(?:\s+|\s*,\s*)/g).join(' ');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user