aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-04-05 22:04:05 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-04-05 22:04:05 -0400
commit1e85027dee2bbd8efac79357f4cdd6c0aca1e035 (patch)
tree5529087f782c53317aa94649c9070b59a246507f /src
parentc1316a4cb1fa9b9f85ef96f0e2ce45768ccd59cd (diff)
parent5f52e61d74678786e2f40d4edbeb2396661bb9bc (diff)
downloadjquery-1e85027dee2bbd8efac79357f4cdd6c0aca1e035.tar.gz
jquery-1e85027dee2bbd8efac79357f4cdd6c0aca1e035.zip
Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321
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 d8ed38c50..f19de96d0 100644
--- a/src/core.js
+++ b/src/core.js
@@ -17,7 +17,7 @@ var jQuery = function( selector, context ) {
// A simple way to check for HTML strings or ID strings
// (both of which we optimize for)
- quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,
+ quickExpr = /^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
// Check if a string has a non-whitespace character in it
rnotwhite = /\S/,