git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c475222
)
Fix typo in regex tweak from previous commit.
author
jeresig
<jeresig@gmail.com>
Thu, 20 Jan 2011 16:46:50 +0000
(11:46 -0500)
committer
jeresig
<jeresig@gmail.com>
Thu, 20 Jan 2011 16:46:50 +0000
(11:46 -0500)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
48261fc
..
f35e33c
100644
(file)
--- 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/,