From: louisremi Date: Thu, 9 Dec 2010 09:23:45 +0000 (+0100) Subject: Precising the unit part of rfxnum regex X-Git-Tag: 1.5b1~111^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=796d25cf07ad63e2008ff4b70db182d33a3533dd;p=jquery.git Precising the unit part of rfxnum regex --- diff --git a/src/effects.js b/src/effects.js index 51ce0c577..067383bc4 100644 --- a/src/effects.js +++ b/src/effects.js @@ -2,7 +2,7 @@ var elemdisplay = {}, rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = /^([+\-]=)?([\d+.\-]+)(.*)$/, + rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i, timerId, fxAttrs = [ // height animations