Skip to content

Commit

Permalink
#6109 - change split regexp to handle urls with parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
wyrfel committed Dec 15, 2014
1 parent 30446d6 commit 9df15c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation/foundation.interchange.js
Expand Up @@ -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);
Expand Down

0 comments on commit 9df15c0

Please sign in to comment.