Fixed minor bug in jQuery.parse[1] expression.

This commit is contained in:
John Resig 2006-12-23 17:54:35 +00:00
parent 58b8f1ddb8
commit a960b2d3b5

View File

@ -1784,7 +1784,7 @@ jQuery.extend({
"\\[ *(@)S *([!*$^=]*) *('?\"?)(.*?)\\4 *\\]", "\\[ *(@)S *([!*$^=]*) *('?\"?)(.*?)\\4 *\\]",
// Match: [div], [div p] // Match: [div], [div p]
"(\\[)\s*(.*?)\s*\\]", "(\\[)\\s*(.*?)\\s*\\]",
// Match: :contains('foo') // Match: :contains('foo')
"(:)S\\(\"?'?([^\\)]*?)\"?'?\\)", "(:)S\\(\"?'?([^\\)]*?)\"?'?\\)",