diff options
author | Ariel Flesler <aflesler@gmail.com> | 2008-07-28 16:34:46 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2008-07-28 16:34:46 +0000 |
commit | a3e97062d42ad6ee1c5feff9382a854768703d54 (patch) | |
tree | 3c35810364b5a3e14c9fae14440f10756f7b8b83 /src/selector.js | |
parent | 23eeaf38546d7d2757c02ca1c4b4a27aaa453133 (diff) | |
download | jquery-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.js | 2 |
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-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/, |