Merge branch '4321' of https://github.com/rwldrn/jquery into rwldrn-4321

This commit is contained in:
Dave Methvin 2011-04-05 22:04:05 -04:00
commit 1e85027dee
2 changed files with 3 additions and 2 deletions

View file

@ -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/,