summaryrefslogtreecommitdiffstats
path: root/src/regex.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-07-26 21:58:56 +0200
committerwout <wout@impinc.co.uk>2014-07-26 21:58:56 +0200
commit80521a95f894c37d6db2e0480454c1afc3d8f6a5 (patch)
tree762ec2c50953bc7871fbe03770bc985abaeaa351 /src/regex.js
parent9842187d84e71e736ada6a2e9444bab592945600 (diff)
downloadsvg.js-80521a95f894c37d6db2e0480454c1afc3d8f6a5.tar.gz
svg.js-80521a95f894c37d6db2e0480454c1afc3d8f6a5.zip
Installed Jasmin 2.0.1
Diffstat (limited to 'src/regex.js')
-rwxr-xr-xsrc/regex.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/regex.js b/src/regex.js
index eeade9e..d08dc7b 100755
--- a/src/regex.js
+++ b/src/regex.js
@@ -11,6 +11,12 @@ SVG.regex = {
// Parse reference id
, reference: /#([a-z0-9\-_]+)/i
+
+ // Parse matrix wrapper
+, matrix: /matrix\(|\)/g
+
+ // Whitespace
+, whitespace: /\s/g
// Test hex value
, isHex: /^#[a-f0-9]{3,6}$/i