aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-01-20 11:46:50 -0500
committerjeresig <jeresig@gmail.com>2011-01-20 11:46:50 -0500
commit0f6c7830ce5bdd31588dccdc40b6254fb4a9100f (patch)
treeb701252b44cb79e45151b58f78582919c8b2bdea /src
parentc475222bfb729d7629cece87cf1cc96aaaacd305 (diff)
downloadjquery-0f6c7830ce5bdd31588dccdc40b6254fb4a9100f.tar.gz
jquery-0f6c7830ce5bdd31588dccdc40b6254fb4a9100f.zip
Fix typo in regex tweak from previous commit.
Diffstat (limited to 'src')
-rw-r--r--src/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js
index 48261fc4f..f35e33c3e 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/,