We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc182e8 + b31c74a commit 8d05050Copy full SHA for 8d05050
src/modules/Graphics.js
@@ -84,7 +84,7 @@ class Graphics {
84
85
// Split apart the path, handing concatonated letters and numbers
86
var pathParts = pathString.split(/[,\s]/).reduce(function (parts, part) {
87
- var match = part.match('([a-zA-Z])(.+)')
+ var match = part.match(/^([a-zA-Z])(.+)/);
88
if (match) {
89
parts.push(match[1])
90
parts.push(match[2])
0 commit comments