Fixed pathValues regexp exponential notation group, removing extra backslash escape from digit.

master
Thomas Brierley 2015-05-15 00:25:32 +01:00
parent 923b180f32
commit d0085416bb
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ var has = "hasOwnProperty",
hsrg = {hs: 1, rg: 1},
pathCommand = /([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,
tCommand = /([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/ig,
pathValues = /(-?\d*\.?\d*(?:e[\-+]?\\d+)?)[\s]*,?[\s]*/ig,
pathValues = /(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/ig,
idgen = 0,
idprefix = "S" + (+new Date).toString(36),
ID = function (el) {