Permalink
Browse files

adding back daltons regex

  • Loading branch information...
1 parent 6dd841d commit 7b18f956b9064de6da1e5d3b1a7e25ea819e8f8b @fat fat committed Apr 4, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 qwery.js
  2. +1 −1 qwery.min.js
  3. +1 −1 src/qwery.js
View
@@ -96,7 +96,7 @@
}
function clean(s) {
- return cleanCache.g(s) || cleanCache.s(s, s.replace(/([\.\*\+\?\^\$\{\}\(\)\|\[\]\/\\])/g, '\\$1'));
+ return cleanCache.g(s) || cleanCache.s(s, s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'));
}
function checkAttr(qualify, actual, val) {
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -90,7 +90,7 @@
}
function clean(s) {
- return cleanCache.g(s) || cleanCache.s(s, s.replace(/([\.\*\+\?\^\$\{\}\(\)\|\[\]\/\\])/g, '\\$1'));
+ return cleanCache.g(s) || cleanCache.s(s, s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'));
}
function checkAttr(qualify, actual, val) {

0 comments on commit 7b18f95

Please sign in to comment.