From: jaubourg Date: Thu, 24 Feb 2011 05:37:37 +0000 (+0100) Subject: Removes unnecessary parenthesis from regular expression. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=58faec7cb7e820ef910b4850f5234da3989e6961;p=jquery.git Removes unnecessary parenthesis from regular expression. --- diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js index 2691591..c70aeb7 100644 --- a/src/ajax/jsonp.js +++ b/src/ajax/jsonp.js @@ -1,7 +1,7 @@ (function( jQuery ) { var jsc = jQuery.now(), - jsre = /(\=)\?(&|$)|()\?\?()/i; + jsre = /(\=)\?(&|$)|\?\?/i; // Default jsonp settings jQuery.ajaxSetup({