From: jeresig Date: Thu, 20 Jan 2011 16:46:50 +0000 (-0500) Subject: Fix typo in regex tweak from previous commit. X-Git-Url: http://git.asbjorn.it/?p=jquery.git;a=commitdiff_plain;h=0f6c7830ce5bdd31588dccdc40b6254fb4a9100f Fix typo in regex tweak from previous commit. --- diff --git a/src/core.js b/src/core.js index 48261fc..f35e33c 100644 --- a/src/core.js +++ b/src/core.js @@ -16,7 +16,7 @@ var jQuery = function( selector, context ) { rootjQuery, // A simple way to check for HTML strings - quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$/, + quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$/, // Check if a string has a non-whitespace character in it rnotwhite = /\S/,