From: John Resig Date: Fri, 20 Jul 2007 23:43:12 +0000 (+0000) Subject: Added a fix for h1 + h2 not working. (Bug #1361) X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=97a6bdbaba302015e84c54a5024dd7faadf35581 Added a fix for h1 + h2 not working. (Bug #1361) --- diff --git a/src/selector/selector.js b/src/selector/selector.js index a78cb31..b574fa9 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -142,7 +142,7 @@ jQuery.extend({ if ( t.indexOf(" ") == 0 ) continue; foundToken = true; } else { - re = /^((\/?\.\.)|([>\/+~]))\s*([a-z]*)/i; + re = /^((\/?\.\.)|([>\/+~]))\s*(\w*)/i; if ( (m = re.exec(t)) != null ) { r = [];