aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector.js
diff options
context:
space:
mode:
authorAriel Flesler <aflesler@gmail.com>2008-07-28 16:34:46 +0000
committerAriel Flesler <aflesler@gmail.com>2008-07-28 16:34:46 +0000
commita3e97062d42ad6ee1c5feff9382a854768703d54 (patch)
tree3c35810364b5a3e14c9fae14440f10756f7b8b83 /src/selector.js
parent23eeaf38546d7d2757c02ca1c4b4a27aaa453133 (diff)
downloadjquery-a3e97062d42ad6ee1c5feff9382a854768703d54.tar.gz
jquery-a3e97062d42ad6ee1c5feff9382a854768703d54.zip
jquery selector: closes #3023. The attribute filter accepts ':'.
Diffstat (limited to 'src/selector.js')
-rw-r--r--src/selector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector.js b/src/selector.js
index 36d5dde54..6dcab37fe 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -68,7 +68,7 @@ jQuery.extend({
// The regular expressions that power the parsing engine
parse: [
// Match: [@value='test'], [@foo]
- /^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
+ /^(\[) *@?([\w:-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,
// Match: :contains('foo')
/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,