Commit 9ba67009 authored by sgerrand's avatar sgerrand Committed by Jelle
Browse files

Issue #1995314 by sgerrand: Fixed Access method on regex string fails in IE7+ browsers.

parent 73b2b696
......@@ -899,7 +899,7 @@
var result = true;
for (var i = 0; i < param.expressions.length; i++) {
var reg = param.expressions[i];
var delim = reg.lastIndexOf(reg[0]);
var delim = reg.lastIndexOf(reg.charAt(0));
// Only allow supported modifiers
var modraw = reg.substr(delim + 1) || '';
var mod = '';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment