From 97a6bdbaba302015e84c54a5024dd7faadf35581 Mon Sep 17 00:00:00 2001 From: John Resig Date: Fri, 20 Jul 2007 23:43:12 +0000 Subject: [PATCH] Added a fix for h1 + h2 not working. (Bug #1361) --- src/selector/selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selector/selector.js b/src/selector/selector.js index a78cb310f..b574fa903 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 = [];