]> source.dussan.org Git - jquery.git/commitdiff
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 48261fc4fed0584df579d731b0251708609955a6..f35e33c3e899ded1dfeed5fae2d9cd752bca3cb2 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/,