From: Timmy Willison Date: Wed, 17 Dec 2014 15:35:59 +0000 (-0500) Subject: Build: account for version labels in Sizzle versions X-Git-Tag: 3.0.0-alpha1~170 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=78ac753192d5490295a46b60f278c030d958bf6d;p=jquery.git Build: account for version labels in Sizzle versions Fixes gh-1939 --- diff --git a/build/ensure-sizzle.js b/build/ensure-sizzle.js index 51921731c..8c43a4b1d 100644 --- a/build/ensure-sizzle.js +++ b/build/ensure-sizzle.js @@ -1,7 +1,7 @@ var fs = require( "fs" ), npm = require( "npm" ), sizzleLoc = __dirname + "/../external/sizzle/dist/sizzle.js", - rversion = /Engine v(\d+\.\d+\.\d+(?:-\w+)?)/; + rversion = /Engine v(\d+\.\d+\.\d+[-\.\d\w]*)/; require( "colors" );