summaryrefslogtreecommitdiffstats
path: root/src/regex.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.js')
-rw-r--r--src/regex.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex.js b/src/regex.js
index c953805..28343d2 100644
--- a/src/regex.js
+++ b/src/regex.js
@@ -15,8 +15,8 @@ SVG.regex = {
// Parse matrix wrapper
, matrix: /matrix\(|\)/g
- // Elements of a matrix
-, matrixElements: /,*\s+|,/
+ // splits a transformation chain
+, transforms: /\)\s*,?\s*/
// Whitespace
, whitespace: /\s/g