Roo/DomQuery.js
authorEdward <edward@roojs.com>
Mon, 19 May 2014 06:08:16 +0000 (14:08 +0800)
committerEdward <edward@roojs.com>
Mon, 19 May 2014 06:08:16 +0000 (14:08 +0800)
Roo/DomQuery.js

index ad785db..e9ac3f1 100644 (file)
@@ -81,7 +81,7 @@ Roo.DomQuery = function(){
     var trimRe = /^\s+|\s+$/g;
     var tplRe = /\{(\d+)\}/g;
     var modeRe = /^(\s?[\/>+~]\s?|\s|$)/;
-    var tagTokenRe = /^(#)?([\w\-\*\|\\]+)/;
+    var tagTokenRe = /^(#)?([\w-\*]+)/;
     var nthRe = /(\d*)n\+?(\d*)/, nthRe2 = /\D/;
 
     function child(p, index){