Bug 233352 - Make ecmaUnescape work with lower-case encodes!

ChatZilla only.
r=rginda
This commit is contained in:
silver%warwickcompsoc.co.uk 2005-01-31 17:24:51 +00:00
parent 241e2b7c67
commit 61cd2b1f4d

View File

@ -274,7 +274,7 @@ function ecmaUnescape(str)
{
function replaceEscapes(seq)
{
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/);
var ary = seq.match(/([\da-f]{1,2})(.*)|u([\da-f]{1,4})/i);
if (!ary)
return "<ERROR>";