You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var xml = '<?';
var regex = /^.+<\?/i;
var test = regex.test(xml);
As there is no character at all before the < less-than sign in the input string the match ^.+ should not match anything and therefore that test call should return false and not true as it does in the cited Edge version.
The text was updated successfully, but these errors were encountered:
I think in https://stackoverflow.com/questions/45122823/is-there-any-reason-why-edge-returns-true-for-xml-i-testxml-version I have found a bug with the regular expression
test
method in the Javascript engine of Edge 40.15063.0.0.As there is no character at all before the
<
less-than sign in the input string the match^.+
should not match anything and therefore thattest
call should returnfalse
and nottrue
as it does in the cited Edge version.The text was updated successfully, but these errors were encountered: