Fixed minor bug in jQuery.parse[1] expression.
authorJohn Resig <jeresig@gmail.com>
Sat, 23 Dec 2006 17:54:35 +0000 (17:54 +0000)
committerJohn Resig <jeresig@gmail.com>
Sat, 23 Dec 2006 17:54:35 +0000 (17:54 +0000)
src/jquery/jquery.js

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