I am receiving a Syntax error in regular expression
error in Internet Explorer 11 and I have tried the following options:
chars = text.split(/(?!$)/u),
chars = text.split(new RegExp("(?!$)", 'u'))
chars = text.split(new RegExp('/(?!$)/', 'u'));
I am curious what I am missing here. [insert comment how this works fine in other browsers]