From 0f6c7830ce5bdd31588dccdc40b6254fb4a9100f Mon Sep 17 00:00:00 2001 From: jeresig Date: Thu, 20 Jan 2011 11:46:50 -0500 Subject: [PATCH] Fix typo in regex tweak from previous commit. --- src/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/, -- 1.7.10.4