Fix typo in regex tweak from previous commit.
authorjeresig <jeresig@gmail.com>
Thu, 20 Jan 2011 16:46:50 +0000 (11:46 -0500)
committerjeresig <jeresig@gmail.com>
Thu, 20 Jan 2011 16:46:50 +0000 (11:46 -0500)
src/core.js

index 48261fc..f35e33c 100644 (file)
@@ -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/,