summaryrefslogtreecommitdiffstats
path: root/src/regex.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.js')
-rw-r--r--src/regex.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/regex.js b/src/regex.js
index d08dc7b..a6ffb98 100644
--- a/src/regex.js
+++ b/src/regex.js
@@ -14,6 +14,9 @@ SVG.regex = {
// Parse matrix wrapper
, matrix: /matrix\(|\)/g
+
+ // Elements of a matrix
+, matrixElements: /,*\s+|,/
// Whitespace
, whitespace: /\s/g