1 2 3 4 5 6 7
// Storage for regular expressions SVG.regex = { unit: /^([\d\.]+)([a-z%]{0,2})$/ , hex: /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i }