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 a3e9706
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.