Skip to content
Permalink
Browse files

jquery selector: closes #3023. The attribute filter accepts ':'.

  • Loading branch information
flesler committed Jul 28, 2008
1 parent 23eeaf3 commit a3e97062d42ad6ee1c5feff9382a854768703d54
Showing with 1 addition and 1 deletion.
  1. +1 −1 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-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,

0 comments on commit a3e9706

Please sign in to comment.
You can’t perform that action at this time.