I do not know if this problem is a problem in IE8, but I can not find any information about this.
// The regex can vary but has to have a non-matching group defined: var re = /^(\s)?[\d]+$/i; // We call it with a string... re.exec("2"); // We call it with a number... re.exec(2);
Firefox and Chrome (I canβt try it in Opera right now) have no problems with calls. But on IE8, the second call fails with "Object does not support this property or method."
Is this a known bug or something else?
source share