]> source.dussan.org Git - jquery.git/commitdiff
Build: Sizzle version labels must start with a dash
authorTimmy Willison <timmywillisn@gmail.com>
Wed, 17 Dec 2014 16:17:41 +0000 (11:17 -0500)
committerTimmy Willison <timmywillisn@gmail.com>
Wed, 17 Dec 2014 16:17:51 +0000 (11:17 -0500)
build/ensure-sizzle.js

index 8c43a4b1d1f8a80c0a0cdfbaf4465477ed9c2785..66e5ee47c5fece8f980f2c727a9502cb5a9926a5 100644 (file)
@@ -1,7 +1,7 @@
 var fs = require( "fs" ),
        npm = require( "npm" ),
        sizzleLoc = __dirname + "/../external/sizzle/dist/sizzle.js",
-       rversion = /Engine v(\d+\.\d+\.\d+[-\.\d\w]*)/;
+       rversion = /Engine v(\d+\.\d+\.\d+(?:-[-\.\d\w]+)?)/;
 
 require( "colors" );