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

ChatZilla only.
r=rginda


git-svn-id: svn://10.0.0.236/trunk@168553 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
silver%warwickcompsoc.co.uk
2005-01-31 17:24:51 +00:00
parent 56889bdb5d
commit 97a5ecbf2c

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>";