From 9df15c02a904cc78c6db04e925d159245e365172 Mon Sep 17 00:00:00 2001 From: Andre Wyrwa Date: Mon, 15 Dec 2014 12:14:50 +1100 Subject: [PATCH] zurb/foundation#6109 - change split regexp to handle urls with parenthesis --- js/foundation/foundation.interchange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/foundation/foundation.interchange.js b/js/foundation/foundation.interchange.js index 25b017c6f..39bb077a3 100644 --- a/js/foundation/foundation.interchange.js +++ b/js/foundation/foundation.interchange.js @@ -276,7 +276,7 @@ if (i > 0) { while (i--) { - var split = raw_arr[i].split(/\((.*?)(\))$/); + var split = raw_arr[i].split(/\(([^\)]*?)(\))$/); if (split.length > 1) { var params = this.parse_scenario(split); -- 2.47.2